@wizishop/angular-components 0.0.139 → 0.0.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/angular-components.scss +1639 -1365
  2. package/bundles/wizishop-angular-components.umd.js +87 -8
  3. package/bundles/wizishop-angular-components.umd.js.map +1 -1
  4. package/bundles/wizishop-angular-components.umd.min.js +2 -2
  5. package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
  6. package/esm2015/lib/components/breadcrumbs/breadcrumbs.component.js +17 -0
  7. package/esm2015/lib/components/breadcrumbs/breadcrumbs.dto.js +2 -0
  8. package/esm2015/lib/components/button/button.component.js +4 -2
  9. package/esm2015/lib/components/card-price/card-price.component.js +29 -0
  10. package/esm2015/lib/components/hn/h1/h1.component.js +4 -2
  11. package/esm2015/lib/components/shared-components.module.js +10 -2
  12. package/esm2015/lib/components/text-area/text-area.component.js +4 -2
  13. package/esm2015/lib/components/wrapper-sidebar/wrapper-sidebar.component.js +19 -0
  14. package/esm2015/public-api.js +4 -1
  15. package/fesm2015/wizishop-angular-components.js +78 -5
  16. package/fesm2015/wizishop-angular-components.js.map +1 -1
  17. package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +7 -0
  18. package/lib/components/breadcrumbs/breadcrumbs.dto.d.ts +5 -0
  19. package/lib/components/button/button.component.d.ts +1 -0
  20. package/lib/components/card-price/card-price.component.d.ts +14 -0
  21. package/lib/components/hn/h1/h1.component.d.ts +1 -0
  22. package/lib/components/text-area/text-area.component.d.ts +1 -0
  23. package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +6 -0
  24. package/package.json +1 -1
  25. package/public-api.d.ts +3 -0
  26. package/wizishop-angular-components-0.0.142.tgz +0 -0
  27. package/wizishop-angular-components.metadata.json +1 -1
  28. package/wizishop-angular-components-0.0.139.tgz +0 -0
@@ -110,6 +110,9 @@ $wac-color-success-popup-alert: #6DCC95!default;
110
110
 
111
111
  $wac-background-indication: #EDEFF2!default;
112
112
 
113
+ $wac-grey: #F5F8FA!default;
114
+ $wac-breadcrumbs-color: #647391!default;
115
+ $wac-subtitle-color: #7A87A1!default;
113
116
  .zindexToggle {
114
117
  z-index: 9!important;
115
118
  position: relative;
@@ -567,1575 +570,1764 @@ $wac-background-indication: #EDEFF2!default;
567
570
  }
568
571
  }
569
572
  }
570
- .wac-button {
571
- @include flexbox();
572
- @include justify-content(center);
573
- @include align-items(center);
574
- position: relative;
575
- display: block;
576
- padding: 7px 19px;
577
- border-style: solid;
578
- border-width: 1px;
573
+ .wac-breadcrumbs {
574
+ width: 100%;
575
+ display: flex;
576
+ align-items: center;
577
+ background-color: $wac-white;
578
+ padding: 10px;
579
+ margin: 0 0 10px;
579
580
  border-radius: 3px;
580
- box-sizing: border-box;
581
-
582
- * {
583
- box-sizing: border-box;
584
- }
581
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
585
582
 
586
- &.width-auto {
587
- display: inline-block;
588
- width: auto;
589
- margin: 0 auto;
583
+ &:hover {
584
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
590
585
  }
591
586
 
592
- &.white-space-no-wrap {
593
- white-space: nowrap;
587
+ @include media('<desktop') {
588
+ max-width: 100%;
589
+ overflow: hidden;
594
590
  }
595
591
 
596
- &.animationText {
597
- width: rem(40);
598
- height: rem(40);
599
- padding: 0!important;
600
- border-radius: 3px;
601
- transition: 0s linear .3s!important;
592
+ &__wrapper {
593
+ width: 100%;
602
594
  display: flex;
603
- justify-content: center;
604
595
  align-items: center;
605
- cursor: pointer;
606
- border: none;
607
- position: relative;
608
- &:hover, &:focus {
609
- transition: 0s!important;
610
- border-radius: 3px 0 0 3px;
611
- &.animation-right {
612
- border-radius: 0 3px 3px 0;
613
- }
614
- .wac-button__animation {
615
- transition: .3s ease!important;
616
- }
617
- }
618
- }
619
596
 
620
- &.small {
621
- padding: rem(4) rem(15);
597
+ @include media('<desktop') {
598
+ width: auto;
599
+ overflow-x: scroll;
600
+ }
622
601
  }
623
602
 
624
- &__wrapper {
603
+ &__item {
604
+ width: 100%;
605
+ max-width: 33.33%;
606
+ display: flex;
607
+ align-items: center;
608
+ justify-content: center;
625
609
  position: relative;
626
- z-index: 2;
627
- color: $wac-white;
628
- font-size: 14px;
629
- line-height: 16px;
630
- font-weight: 500;
631
-
632
- i {
633
- margin-right: 1.4px;
610
+ padding: 10px;
611
+ @include media('<desktop') {
612
+ width: auto;
613
+ min-width: unset;
614
+ max-width: unset;
615
+ padding: 10px 30px;
616
+ .name {
617
+ white-space: nowrap;
618
+ }
634
619
  }
635
- }
636
-
637
- &__animation {
638
- overflow: hidden;
639
- max-width: 0;
640
- height: 40px;
641
- position: absolute;
642
- top: 0;
643
- left: 95%;
644
- z-index: 2;
645
- transition: .3s ease!important;
646
- .animation-right & {
647
- left: auto;
648
- right: 94%;
620
+ .round {
621
+ min-width: 40px;
622
+ height: 40px;
623
+ border-radius: 40px;
624
+ display: flex;
625
+ justify-content: center;
626
+ align-items: center;
627
+ border: 2px solid $wac-grey;
628
+ background-color: $wac-grey;
629
+ transition: .3s ease;
630
+ margin: 0 15px 0 0;
649
631
  > span {
650
- border-radius: 3px 0 0 3px;
651
- padding: 0 0 0 20px;
632
+ font-size: rem(16);
633
+ font-weight: 700;
634
+ color: $wac-breadcrumbs-color;
635
+ line-height: 1;
652
636
  }
653
- }
654
- &__text {
655
- position: absolute;
656
- top: 0;
657
- left: 0;
658
- width: auto;
659
- white-space: nowrap;
660
- height: rem(40);
661
- line-height: rem(40);
662
- color: $wac-white !important;
663
- border-radius: 0 3px 3px 0;
664
- padding: 0 20px 0 0;
665
- font-size: rem(14);
666
- .is-success & {
667
- background-color: $wac-green-color;
637
+ > i {
638
+ font-size: rem(18);
639
+ color: $wac-wizishop-blue;
668
640
  }
669
- .is-danger & {
670
- background-color: $wac-primary-button;
641
+ &.valid {
642
+ background-color: transparent;
643
+ border-color: $wac-wizishop-blue;
644
+ color: $wac-wizishop-blue;
671
645
  }
672
- }
673
- }
674
-
675
- &.deletePosition-center .wac-button__confirmDelete {
676
- left: 50%;
677
- transform: translateX(-50%) translateY(-1px);
678
- }
679
-
680
- &.deletePosition-right .wac-button__confirmDelete {
681
- right: 0;
682
- transform: translateY(-1px);
683
- }
684
-
685
- &.deletePosition-left .wac-button__confirmDelete {
686
- left: 0;
687
- transform: translateY(-1px);
688
- }
689
-
690
- &__confirmDelete {
691
- overflow: hidden;
692
- max-width: 0;
693
- height: 40px;
694
- position: absolute;
695
- top: 0;
696
- z-index: 2;
697
- transition: .3s ease!important;
698
- border-radius: 3px;
699
-
700
-
701
- .is-success & {
702
- background-color: $wac-green-color;
703
- &:hover, &:focus {
704
- background-color: darken($wac-green-color, 15%);
646
+ &.current:not(.valid) {
647
+ background-color: $wac-wizishop-blue;
648
+ border-color: $wac-wizishop-blue;
649
+ > span, > i {
650
+ color: $wac-white;
651
+ }
705
652
  }
706
653
  }
707
- .is-danger & {
708
- background-color: $wac-primary-button;
709
- &:hover, &:focus {
710
- background-color: darken($wac-primary-button, 15%);
654
+ .name {
655
+ font-size: rem(16);
656
+ font-weight: 700;
657
+ color: $wac-breadcrumbs-color;
658
+ line-height: 1;
659
+ transition: .3s ease;
660
+ &.valid, &.current {
661
+ color: $wac-wizishop-blue;
711
662
  }
712
663
  }
713
- &__text {
664
+ > i {
714
665
  position: absolute;
715
- top: 0;
716
- left: 50%;
717
- transform: translateX(-50%);
718
- width: auto;
719
- white-space: nowrap;
720
- height: rem(40);
721
- line-height: rem(40);
722
- color: $wac-white !important;
723
- padding: 0 20px;
724
- font-size: rem(14);
725
- opacity: 0;
726
- transition: .3s ease;
727
- }
728
- }
729
-
730
- &.step-delete {
731
- i {
732
- transition: .3s ease!important;
733
- opacity: 0!important;
666
+ top: 50%;
667
+ right: 0;
668
+ transform: translateY(-50%);
669
+ font-size: rem(18);
670
+ color: $wac-breadcrumbs-color;
671
+ line-height: 1;
734
672
  }
735
- .wac-button__confirmDelete {
736
- transition: .6s ease .3s!important;
737
- &__text {
738
- opacity: 1;
739
- transition: .3s ease .9s;
673
+ &:last-child {
674
+ > i {
675
+ display: none;
740
676
  }
741
677
  }
742
678
  }
743
-
744
- &.alone {
745
- padding: 7px 14.6px;
746
-
747
- .wac-button__wrapper i {
748
- margin-right: 0;
679
+ }
680
+ .wac-calendar {
681
+ position: relative;
682
+ margin: 0 0 20px;
683
+ width: 268px;
684
+ &--open {
685
+ z-index: 9;
686
+ .wac-calendar {
687
+ &__absolute {
688
+ visibility: visible;
689
+ opacity: 1;
690
+ transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
691
+ }
749
692
  }
750
693
  }
751
-
752
- &.is-outlined {
753
- &:hover,
754
- &.hover {
755
- .wac-button__wrapper, .wac-button__animation {
756
- color: $wac-white;
757
- transition: color 0.3s ease-in-out;
694
+ &--edit {
695
+ display: flex;
696
+ justify-content: flex-start;
697
+ align-items: center;
698
+ align-content: center;
699
+ & > * {
700
+ display: inline-block;
701
+ &:nth-child(2) {
702
+ margin: 0 10px;
758
703
  }
759
704
  }
760
705
  }
761
-
762
- &.is-dark {
763
- background-color: $wac-main-text;
764
- border-color: $wac-main-text;
765
- transition: background-color 0.3s ease-in-out;
766
-
767
- .wac-button__loader {
768
- background-color: $wac-main-text;
769
- }
770
-
771
- &:hover,
772
- &.hover {
773
- background-color: $wac-main-text-lighten;
774
- border-color: $wac-main-text-lighten;
775
- transition: background-color 0.3s ease-in-out;
706
+ &--no-margin {
707
+ margin: 0;
708
+ .wac-calendar__autoHide {
709
+ margin: 0;
776
710
  }
777
-
778
- &:focus,
779
- &.focus {
780
- background-color: $wac-main-text-lighten;
781
- border-color: $wac-main-text-lighten;
782
- transition: background-color 0.3s ease-in-out;
783
- }
784
-
785
- &.is-outlined {
786
- background-color: transparent;
787
- border-color: $wac-main-text;
788
-
789
- .wac-button__loader {
790
- background-color: $wac-main-text;
791
- }
792
-
793
- .wac-button__wrapper, .wac-button__animation {
794
- color: $wac-main-text;
795
- transition: color 0.3s ease-in-out;
796
- }
797
-
798
- &:hover,
799
- &.hover {
800
- background-color: $wac-main-text;
801
- border-color: $wac-main-text;
802
- .wac-button__wrapper, .wac-button__animation {
803
- color: $wac-white;
804
- transition: color 0.3s ease-in-out;
711
+ }
712
+ &__label {
713
+ font-size: rem(14) !important;
714
+ line-height: rem(16) !important;
715
+ margin: 0 0 10px !important;
716
+ color: $wac-color-text-grey !important;
717
+ cursor: pointer;
718
+ }
719
+ &__autoHide {
720
+ max-width: 300px;
721
+ position: relative;
722
+ }
723
+ &__wrapper {
724
+ &__input {
725
+ border-radius: 3px;
726
+ display: flex;
727
+ justify-content: flex-start;
728
+ align-items: center;
729
+ align-content: center;
730
+ min-width: 240px;
731
+ max-width: 240px;
732
+ padding: 7px 20px;
733
+ border: 1px solid $wac-border-form;
734
+ cursor: pointer;
735
+ &__icon {
736
+ width: 16px;
737
+ margin: 0 10px 0 0;
738
+ display: flex;
739
+ justify-content: space-between;
740
+ align-items: center;
741
+ align-content: center;
742
+ cursor: pointer;
743
+ &:hover,
744
+ &:focus {
745
+ i {
746
+ color: darken($wac-wizishop-blue, 15%);
747
+ }
805
748
  }
806
- }
807
-
808
- &:focus,
809
- &.focus {
810
- background-color: $wac-main-text;
811
- border-color: $wac-main-text;
812
- transition: background-color 0.3s ease-in-out;
813
- .wac-button__wrapper, .wac-button__animation {
814
- color: $wac-white;
815
- transition: color 0.3s ease-in-out;
749
+ i {
750
+ color: $wac-second-color;
751
+ font-size: rem(18);
752
+ transition: color 300ms ease;
816
753
  }
817
754
  }
818
- }
819
- }
820
-
821
- &.is-info {
822
- background-color: $wac-wizishop-blue-button;
823
- border-color: $wac-wizishop-blue-button;
824
- transition: background-color 0.3s ease-in-out;
825
-
826
- .wac-button__loader {
827
- background-color: $wac-wizishop-blue-button-darken;
828
- }
829
-
830
- &:hover,
831
- &.hover {
832
- background-color: $wac-wizishop-blue-button-darken;
833
- border-color: $wac-wizishop-blue-button-darken;
834
- transition: background-color 0.3s ease-in-out;
835
- }
836
-
837
- &:focus,
838
- &.focus {
839
- background-color: $wac-wizishop-blue-button-focus;
840
- border-color: $wac-wizishop-blue-button-focus;
841
- transition: background-color 0.3s ease-in-out;
842
- }
843
-
844
- &.is-outlined {
845
- background-color: transparent;
846
- border-color: $wac-wizishop-blue-button;
847
-
848
- .wac-button__loader {
849
- background-color: $wac-wizishop-blue-button-darken;
850
- }
851
-
852
- .wac-button__wrapper, .wac-button__animation {
853
- color: $wac-wizishop-blue-button;
854
- transition: color 0.3s ease-in-out;
755
+ &__date {
756
+ width: auto;
757
+ white-space: nowrap;
758
+ position: relative;
759
+ color: $wac-main-text;
760
+ font-size: rem(14);
761
+ line-height: rem(24);
762
+ margin: 0 15px 0 0;
763
+ letter-spacing: 0.65px;
764
+ &:after {
765
+ content: '';
766
+ display: block;
767
+ position: absolute;
768
+ width: 1px;
769
+ height: 15px;
770
+ background-color: $wac-input-border;
771
+ top: 50%;
772
+ right: -15px;
773
+ transform: translateY(-50%);
774
+ }
855
775
  }
856
-
857
- &:hover,
858
- &.hover {
859
- background-color: $wac-wizishop-blue-button;
860
- border-color: $wac-wizishop-blue-button;
776
+ &__time {
777
+ width: auto;
778
+ white-space: nowrap;
779
+ font-size: rem(14);
780
+ line-height: rem(24);
781
+ color: $wac-main-text;
782
+ margin: 0 15px;
783
+ letter-spacing: 1.3px;
861
784
  }
862
-
863
- &:focus,
864
- &.focus {
865
- background-color: $wac-wizishop-blue-button-focus;
866
- border-color: $wac-wizishop-blue-button-focus;
867
- transition: background-color 0.3s ease-in-out;
785
+ &__close {
786
+ width: 10px;
787
+ cursor: pointer;
788
+ i {
789
+ font-size: 14px;
790
+ transition: color 300ms ease;
791
+ color: $wac-primary-button;
792
+ font-weight: 400;
793
+ }
794
+ &:hover,
795
+ &:focus {
796
+ i {
797
+ color: darken($wac-primary-button, 15%);
798
+ }
799
+ }
868
800
  }
869
801
  }
870
-
871
- &.is-loading {
872
- &:hover,
873
- &.hover {
874
- background-color: $wac-wizishop-blue-button;
875
- transition: background-color 0.3s ease-in-out;
802
+ &__editInPlace {
803
+ display: flex;
804
+ justify-content: space-between;
805
+ padding: 5px 0;
806
+ position: relative;
807
+ align-content: center;
808
+ align-items: center;
809
+ cursor: pointer;
810
+ max-width: 140px;
811
+ &:after {
812
+ position: absolute;
813
+ content: '';
814
+ border-bottom: dashed 1px $wac-calendar-primary;
815
+ width: 100%;
816
+ bottom: 0;
817
+ left: 0;
876
818
  }
877
- &:focus,
878
- &.focus {
879
- background-color: $wac-wizishop-blue-button-focus;
880
- border-color: $wac-wizishop-blue-button-focus;
881
- transition: background-color 0.3s ease-in-out;
819
+ &__icon {
820
+ width: 12px;
821
+ margin: 0 5px 0 0;
822
+ display: flex;
823
+ justify-content: space-between;
824
+ align-items: center;
825
+ align-content: center;
826
+ i {
827
+ font-size: rem(14);
828
+ color: $wac-wizishop-blue;
829
+ transition: color 300ms ease;
830
+ }
882
831
  }
883
- }
884
-
885
- &.disabled {
886
- background-color: $wac-wizishop-blue-button-disabled;
887
- border-color: $wac-wizishop-blue-button-disabled;
888
- transition: 0s;
889
- cursor: default;
890
- .wac-button__wrapper, .wac-button__animation {
891
- color: $wac-white;
832
+ &__date {
833
+ position: relative;
834
+ color: $wac-header-color;
835
+ font-size: rem(14);
836
+ width: auto;
837
+ transition: 300ms ease;
838
+ white-space: nowrap;
892
839
  }
893
840
  &:hover,
894
- &:focus,
895
- &.hover,
896
- &.focus {
897
- background-color: $wac-wizishop-blue-button-disabled;
898
- border-color: $wac-wizishop-blue-button-disabled;
841
+ &:focus {
842
+ .wac-calendar {
843
+ &__wrapper {
844
+ &__editInPlace {
845
+ &__date {
846
+ color: darken($wac-header-color, 30%);
847
+ }
848
+ &__icon {
849
+ i {
850
+ color: darken($wac-wizishop-blue, 15%);
851
+ }
852
+ }
853
+ }
854
+ }
855
+ }
899
856
  }
900
857
  }
901
- }
902
-
903
- &.is-orange {
904
- background-color: $wac-orange-color;
905
- border-color: $wac-orange-color;
906
- transition: background-color 0.3s ease-in-out;
907
-
908
- .wac-button__loader {
909
- background-color: $wac-orange-color-darken;
910
- }
911
-
912
- &:hover,
913
- &.hover {
914
- background-color: $wac-orange-color-darken;
915
- border-color: $wac-orange-color-darken;
916
- transition: background-color 0.3s ease-in-out;
917
- }
918
-
919
- &:focus,
920
- &.focus {
921
- background-color: $wac-orange-color-focus;
922
- border-color: $wac-orange-color-focus;
923
- transition: background-color 0.3s ease-in-out;
924
- }
925
-
926
- &.is-outlined {
927
- background-color: transparent;
928
- border-color: $wac-orange-color;
929
-
930
- .wac-button__loader {
931
- background-color: $wac-orange-color-darken;
932
- }
933
-
934
- .wac-button__wrapper, .wac-button__animation {
935
- color: $wac-orange-color;
936
- transition: color 0.3s ease-in-out;
937
- }
938
-
939
- &:hover,
940
- &.hover {
941
- background-color: $wac-orange-color;
942
- border-color: $wac-orange-color;
943
- }
944
-
945
- &:focus,
946
- &.focus {
947
- background-color: $wac-orange-color-focus;
948
- border-color: $wac-orange-color-focus;
949
- transition: background-color 0.3s ease-in-out;
950
- }
951
- }
952
-
953
- &.is-loading {
954
- &:hover,
955
- &.hover {
956
- background-color: $wac-orange-color;
957
- transition: background-color 0.3s ease-in-out;
958
- }
959
- &:focus,
960
- &.focus {
961
- background-color: $wac-orange-color-focus;
962
- border-color: $wac-orange-color-focus;
963
- transition: background-color 0.3s ease-in-out;
858
+ &__select {
859
+ border-radius: 3px;
860
+ display: flex;
861
+ justify-content: flex-start;
862
+ align-items: center;
863
+ align-content: center;
864
+ min-width: 220px;
865
+ max-width: 220px;
866
+ padding: 11px 19px;
867
+ border: 1px solid $wac-input-border;
868
+ cursor: pointer;
869
+ background: $wac-white no-repeat center right 15px
870
+ 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);
871
+ &__icon {
872
+ width: 16px;
873
+ margin: 0 10px 0 0;
874
+ display: flex;
875
+ justify-content: space-between;
876
+ align-items: center;
877
+ align-content: center;
878
+ cursor: pointer;
879
+ &:hover,
880
+ &:focus {
881
+ i {
882
+ color: darken($wac-second-color, 15%);
883
+ }
884
+ }
885
+ i {
886
+ font-size: rem(18);
887
+ font-weight: 400;
888
+ color: $wac-second-color;
889
+ transition: color 300ms ease;
890
+ }
964
891
  }
965
- }
966
-
967
- &.disabled {
968
- background-color: $wac-orange-color-disabled;
969
- border-color: $wac-orange-color-disabled;
970
- transition: 0s;
971
- cursor: default;
972
- .wac-button__wrapper, .wac-button__animation {
973
- color: $wac-white;
892
+ &__date {
893
+ width: auto;
894
+ position: relative;
895
+ color: $wac-header-color;
896
+ font-size: rem(14);
897
+ white-space: nowrap;
898
+ margin: 0;
899
+ &:after {
900
+ display: none;
901
+ }
974
902
  }
975
- &:hover,
976
- &:focus,
977
- &.hover,
978
- &.focus {
979
- background-color: $wac-orange-color-disabled;
980
- border-color: $wac-orange-color-disabled;
903
+ &__close {
904
+ width: 10px;
905
+ cursor: pointer;
906
+ i {
907
+ font-size: 14px;
908
+ transition: color 300ms ease;
909
+ color: $wac-primary-button;
910
+ }
911
+ &:hover,
912
+ &:focus {
913
+ i {
914
+ color: darken($wac-primary-button, 15%);
915
+ }
916
+ }
981
917
  }
982
918
  }
983
919
  }
984
-
985
- &.is-pink {
986
- background-color: $wac-pink-color;
987
- border-color: $wac-pink-color;
988
- transition: background-color 0.3s ease-in-out;
989
-
990
- .wac-button__loader {
991
- background-color: $wac-pink-color-darken;
920
+ &__absolute {
921
+ position: absolute;
922
+ top: 100%;
923
+ left: 50%;
924
+ transform: translateX(-50%);
925
+ visibility: hidden;
926
+ opacity: 0;
927
+ transition: 0.3s ease opacity, 0s visibility 0.31s;
928
+ border: 1px solid $wac-border-light;
929
+ background-color: $wac-white;
930
+ box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
931
+ border-radius: 3px;
932
+ max-width: 268px;
933
+ min-width: 268px;
934
+ &.bottom {
935
+ transform: translateX(-50%) translateY(10px);
992
936
  }
993
-
994
- &:hover,
995
- &.hover {
996
- background-color: $wac-pink-color-darken;
997
- border-color: $wac-pink-color-darken;
998
- transition: background-color 0.3s ease-in-out;
937
+ &.top {
938
+ top: auto;
939
+ bottom: 100%;
940
+ transform: translateX(-50%) translateY(-10px);
999
941
  }
1000
-
1001
- &:focus,
1002
- &.focus {
1003
- background-color: $wac-pink-color-focus;
1004
- border-color: $wac-pink-color-focus;
1005
- transition: background-color 0.3s ease-in-out;
942
+ &.left {
943
+ transform: translateY(-50%) translateX(-10px);
944
+ left: auto;
945
+ right: 100%;
946
+ top: 50%;
1006
947
  }
1007
-
1008
- &.is-outlined {
1009
- background-color: transparent;
1010
- border-color: $wac-pink-color;
1011
-
1012
- .wac-button__loader {
1013
- background-color: $wac-pink-color-darken;
1014
- }
1015
-
1016
- .wac-button__wrapper, .wac-button__animation {
1017
- color: $wac-pink-color;
1018
- transition: color 0.3s ease-in-out;
1019
- }
1020
-
1021
- &:hover,
1022
- &.hover {
1023
- background-color: $wac-pink-color;
1024
- border-color: $wac-pink-color;
1025
- }
1026
-
1027
- &:focus,
1028
- &.focus {
1029
- background-color: $wac-pink-color-focus;
1030
- border-color: $wac-pink-color-focus;
1031
- transition: background-color 0.3s ease-in-out;
1032
- }
948
+ &.right {
949
+ transform: translateY(-50%) translateX(10px);
950
+ left: 100%;
951
+ top: 50%;
1033
952
  }
1034
-
1035
- &.is-loading {
1036
- &:hover,
1037
- &.hover {
1038
- background-color: $wac-pink-color;
1039
- transition: background-color 0.3s ease-in-out;
1040
- }
1041
- &:focus,
1042
- &.focus {
1043
- background-color: $wac-pink-color-focus;
1044
- border-color: $wac-pink-color-focus;
1045
- transition: background-color 0.3s ease-in-out;
1046
- }
953
+ &.left-top {
954
+ left: auto;
955
+ right: 100%;
956
+ top: auto;
957
+ bottom: 0;
958
+ transform: translateY(-10px) translateX(-10px);
1047
959
  }
1048
-
1049
- &.disabled {
1050
- background-color: $wac-pink-color-disabled;
1051
- border-color: $wac-pink-color-disabled;
1052
- transition: 0s;
1053
- cursor: default;
1054
- .wac-button__wrapper, .wac-button__animation {
1055
- color: $wac-white;
1056
- }
1057
- &:hover,
1058
- &:focus,
1059
- &.hover,
1060
- &.focus {
1061
- background-color: $wac-pink-color-disabled;
1062
- border-color: $wac-pink-color-disabled;
1063
- }
960
+ &.left-bottom {
961
+ left: auto;
962
+ right: 100%;
963
+ top: 0;
964
+ transform: translateY(10px) translateX(-10px);
1064
965
  }
1065
- }
1066
-
1067
- &.is-grey {
1068
- background-color: $wac-background-color;
1069
- border-color: $wac-background-color;
1070
- transition: background-color 0.3s ease-in-out;
1071
-
1072
- .wac-button__loader {
1073
- background-color: $wac-background-color-darken;
966
+ &.right-top {
967
+ left: 100%;
968
+ top: auto;
969
+ bottom: 0;
970
+ transform: translateY(-10px) translateX(10px);
1074
971
  }
1075
-
1076
- .wac-button__wrapper, .wac-button__animation {
1077
- color: $wac-second-color;
1078
- transition: color 0.3s ease-in-out;
972
+ &.right-bottom {
973
+ left: 100%;
974
+ top: 0;
975
+ transform: translateY(10px) translateX(10px);
1079
976
  }
1080
-
1081
- &:hover,
1082
- &.hover {
1083
- background-color: $wac-background-color-darken;
1084
- border-color: $wac-background-color-darken;
1085
- transition: background-color 0.3s ease-in-out;
1086
- }
1087
-
1088
- &:focus,
1089
- &.focus {
1090
- background-color: $wac-background-color-focus;
1091
- border-color: $wac-background-color-focus;
1092
- transition: background-color 0.3s ease-in-out;
977
+ & > * > * {
978
+ width: 265px;
1093
979
  }
1094
-
1095
- &.is-outlined {
1096
- background-color: transparent;
1097
- border-color: $wac-border-light;
1098
-
1099
- .wac-button__loader {
1100
- background-color: $wac-background-color-darken;
980
+ &__time {
981
+ position: relative;
982
+ background-color: $wac-white;
983
+ padding: 20px;
984
+ width: 100%;
985
+ &:before {
986
+ content: '';
987
+ width: 100%;
988
+ height: 5px;
989
+ bottom: 100%;
990
+ margin-bottom: -2px;
991
+ display: block;
992
+ position: absolute;
993
+ left: 0;
994
+ background-color: $wac-white;
1101
995
  }
996
+ &__wrapper {
997
+ width: 100% !important;
998
+ display: flex;
999
+ align-items: center;
1000
+ align-content: center;
1001
+ justify-content: center;
1002
+ min-height: 42px;
1003
+ position: relative;
1004
+ &:before {
1005
+ content: '';
1006
+ display: block;
1007
+ background-color: $wac-wizishop-blue;
1008
+ width: 4px;
1009
+ height: 4px;
1010
+ border-radius: 50%;
1011
+ position: absolute;
1012
+ top: 50%;
1013
+ left: 50%;
1014
+ transform: translate(-50%, -50%);
1015
+ margin-top: -4px;
1016
+ }
1017
+ &:after {
1018
+ content: '';
1019
+ display: block;
1020
+ background-color: $wac-wizishop-blue;
1021
+ width: 4px;
1022
+ height: 4px;
1023
+ border-radius: 50%;
1024
+ position: absolute;
1025
+ top: 50%;
1026
+ left: 50%;
1027
+ transform: translate(-50%, -50%);
1028
+ margin-top: 4px;
1029
+ }
1030
+ &__hours,
1031
+ &__minutes {
1032
+ position: relative;
1033
+ width: 100px;
1034
+ display: flex;
1035
+ flex-wrap: nowrap;
1036
+ &__left,
1037
+ &__right {
1038
+ width: 100%;
1039
+ display: flex;
1040
+ flex-wrap: nowrap;
1041
+ justify-content: center;
1042
+ flex-direction: column;
1043
+ align-items: center;
1044
+ align-content: center;
1045
+ }
1046
+ &__btn {
1047
+ display: flex;
1048
+ justify-content: center;
1049
+ flex-direction: column;
1050
+ align-items: center;
1051
+ align-content: center;
1052
+ width: 40px;
1053
+ height: 20px;
1054
+ background-color: $wac-gray-background;
1055
+ box-shadow: none;
1056
+ border: none;
1057
+ cursor: pointer;
1058
+ transition: 0.3s ease;
1059
+ &:hover,
1060
+ &:focus {
1061
+ background-color: $wac-wizishop-blue;
1062
+ i {
1063
+ color: $wac-white;
1064
+ }
1065
+ }
1066
+ &:first-child {
1067
+ margin: 0 0 2px;
1068
+ }
1069
+ i {
1070
+ font-size: rem(10);
1071
+ color: $wac-second-color;
1072
+ margin: 0;
1073
+ }
1074
+ }
1102
1075
 
1103
- .wac-button__wrapper, .wac-button__animation {
1104
- color: $wac-second-color !important;
1105
- transition: color 0.3s ease-in-out;
1106
- }
1076
+ input::-webkit-outer-spin-button,
1077
+ input::-webkit-inner-spin-button {
1078
+ -webkit-appearance: none;
1079
+ margin: 0;
1080
+ }
1107
1081
 
1108
- &:hover,
1109
- &.hover {
1110
- background-color: $wac-background-color;
1111
- border-color: $wac-background-color;
1112
- }
1082
+ /* Firefox */
1083
+ input[type='number'] {
1084
+ -moz-appearance: textfield;
1085
+ }
1113
1086
 
1114
- &:focus,
1115
- &.focus {
1116
- background-color: $wac-background-color-focus;
1117
- border-color: $wac-background-color-focus;
1118
- transition: background-color 0.3s ease-in-out;
1087
+ input {
1088
+ border: none;
1089
+ text-align: center;
1090
+ font-size: rem(24);
1091
+ color: $wac-wizishop-blue;
1092
+ padding: 0;
1093
+ line-height: 1.4;
1094
+ margin: 0;
1095
+ width: 100%;
1096
+ }
1097
+ }
1098
+ &__hours {
1099
+ margin: 0 10px 0 0;
1100
+ }
1101
+ &__minutes {
1102
+ margin: 0 0 0 10px;
1103
+ }
1119
1104
  }
1120
1105
  }
1106
+ }
1107
+ }
1121
1108
 
1122
- &.is-loading {
1123
- &:hover,
1124
- &.hover {
1125
- background-color: $wac-background-color;
1126
- transition: background-color 0.3s ease-in-out;
1127
- }
1128
- }
1109
+ .datetimepicker-dummy .datetimepicker-clear-button {
1110
+ top: -3px !important;
1111
+ }
1129
1112
 
1130
- &.disabled {
1131
- background-color: $wac-background-color-disabled;
1132
- border-color: $wac-background-color-disabled;
1133
- transition: 0s;
1134
- cursor: default;
1113
+ .datetimepicker-dummy .datetimepicker-dummy-wrapper {
1114
+ border: 1px solid $wac-border-color;
1115
+ border-radius: rem(3);
1135
1116
 
1136
- &:hover,
1137
- &:focus,
1138
- &.hover,
1139
- &.focus {
1140
- background-color: $wac-background-color-disabled;
1141
- border-color: $wac-background-color-disabled;
1142
- }
1143
- }
1117
+ &:hover,
1118
+ &:focus {
1119
+ border: 1px solid $wac-wizishop-blue;
1144
1120
  }
1121
+ }
1145
1122
 
1146
- &.is-danger {
1147
- background-color: $wac-primary-button;
1148
- border-color: $wac-primary-button;
1149
- transition: background-color 0.3s ease-in-out;
1150
-
1151
- .wac-button__loader {
1152
- background-color: $wac-primary-button-darken;
1153
- }
1154
1123
 
1155
- &:hover,
1156
- &.hover {
1157
- background-color: $wac-primary-button-darken;
1158
- border-color: $wac-primary-button-darken;
1159
- transition: background-color 0.3s ease-in-out;
1160
- }
1124
+ .datetimepicker {
1125
+ box-shadow: none !important;
1126
+ &-wrapper {
1127
+ border: none !important;
1128
+ box-shadow: none;
1129
+ background: $wac-white;
1130
+ }
1131
+ }
1161
1132
 
1162
- &:focus,
1163
- &.focus {
1164
- background-color: $wac-primary-button-focus;
1165
- border-color: $wac-primary-button-focus;
1166
- transition: background-color 0.3s ease-in-out;
1133
+ .datepicker {
1134
+ .datepicker {
1135
+ &-nav {
1136
+ background: $wac-white !important;
1137
+ color: $wac-main-text !important;
1138
+ padding: 15px !important;
1167
1139
  }
1140
+ }
1141
+ }
1168
1142
 
1169
- &.is-outlined {
1170
- background-color: transparent;
1171
- border-color: $wac-primary-button;
1172
-
1173
- .wac-button__wrapper, .wac-button__animation {
1174
- color: $wac-primary-button;
1175
- transition: color 0.3s ease-in-out;
1176
- }
1177
-
1178
- &:hover,
1179
- &.hover {
1180
- background-color: $wac-primary-button;
1181
- border-color: $wac-primary-button;
1182
- }
1143
+ .datetimepicker .datepicker-nav .datepicker-nav-month,
1144
+ .datetimepicker .datepicker-nav .datepicker-nav-year {
1145
+ color: $wac-main-text !important;
1146
+ font-weight: 500 !important;
1147
+ &:hover,
1148
+ &:focus {
1149
+ color: $wac-wizishop-blue !important;
1150
+ }
1151
+ }
1183
1152
 
1184
- &:focus,
1185
- &.focus {
1186
- background-color: $wac-primary-button-focus;
1187
- border-color: $wac-primary-button-focus;
1188
- transition: background-color 0.3s ease-in-out;
1189
- }
1190
- }
1153
+ .datepicker-nav-year {
1154
+ font-weight: 500 !important;
1155
+ }
1191
1156
 
1192
- &.is-loading {
1193
- &:hover,
1194
- &.hover {
1195
- background-color: $wac-primary-button;
1196
- transition: background-color 0.3s ease-in-out;
1197
- }
1198
- }
1199
-
1200
- &.opacity {
1201
- background-color: $wac-primary-button-light;
1202
- border-color: $wac-primary-button-light;
1203
- &:hover, &:focus {
1204
- background-color: $wac-primary-button;
1205
- border-color: $wac-primary-button;
1206
- }
1207
- }
1157
+ .datetimepicker .datepicker-nav .datepicker-nav-previous,
1158
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
1159
+ border-radius: 3px;
1160
+ color: $wac-main-text !important;
1161
+ width: 25px !important;
1162
+ height: 25px !important;
1163
+ display: flex;
1164
+ justify-content: center;
1165
+ align-items: center;
1166
+ align-content: center;
1167
+ border: 1px solid $wac-border-light;
1168
+ transition: 0.3s ease;
1169
+ > svg {
1170
+ display: none !important;
1171
+ }
1172
+ }
1208
1173
 
1209
- &.disabled {
1210
- background-color: $wac-primary-button-disabled;
1211
- border-color: $wac-primary-button-disabled;
1212
- transition: 0s;
1213
- cursor: default;
1174
+ .datetimepicker .datepicker-nav .datepicker-nav-previous {
1175
+ background: $wac-white
1176
+ 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")
1177
+ center center no-repeat !important;
1178
+ background-size: 6px auto !important;
1179
+ &:hover,
1180
+ &:focus {
1181
+ border-color: $wac-wizishop-blue !important;
1182
+ }
1183
+ }
1214
1184
 
1215
- .wac-button__wrapper, .wac-button__animation {
1216
- color: $wac-white;
1217
- }
1185
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
1186
+ background: $wac-white
1187
+ 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")
1188
+ center center no-repeat !important;
1189
+ background-size: 6px auto !important;
1190
+ &:hover,
1191
+ &:focus {
1192
+ border-color: $wac-wizishop-blue !important;
1193
+ }
1194
+ }
1218
1195
 
1219
- &:hover,
1220
- &:focus,
1221
- &.hover,
1222
- &.focus {
1223
- background-color: $wac-primary-button-disabled;
1224
- border-color: $wac-primary-button-disabled;
1225
- }
1196
+ .wac-calendar__absolute {
1197
+ .datetimepicker .datepicker-body .datepicker-weekdays {
1198
+ padding: 0 15px;
1199
+ }
1200
+ .datepicker-weekdays {
1201
+ height: 14px;
1202
+ margin: 0 0 rem(12);
1203
+ .datepicker-date {
1204
+ font-size: rem(12);
1205
+ white-space: nowrap;
1206
+ line-height: 1;
1207
+ padding: 0 !important;
1208
+ color: $wac-secondary-color !important;
1226
1209
  }
1227
1210
  }
1211
+ .datepicker-days {
1212
+ padding: 0 15px !important;
1213
+ }
1214
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
1215
+ background-color: $wac-wizishop-blue;
1216
+ }
1217
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
1218
+ border-color: $wac-wizishop-blue;
1219
+ }
1220
+ }
1228
1221
 
1229
- &.is-success {
1230
- background-color: $wac-green-color;
1231
- border-color: $wac-green-color;
1232
- transition: background-color 0.3s ease-in-out;
1222
+ .datetimepicker .datetimepicker-footer {
1223
+ display: none;
1224
+ }
1225
+ .wac-card-price {
1226
+ width: 100%;
1227
+ padding: 50px;
1228
+ border-radius: 3px;
1229
+ background-color: $wac-white;
1230
+ display: flex;
1231
+ flex-direction: column;
1233
1232
 
1234
- .wac-button__loader {
1235
- background-color: $wac-green-color-darken;
1236
- }
1233
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1237
1234
 
1238
- &:hover,
1239
- &.hover {
1240
- background-color: $wac-green-color-darken;
1241
- border-color: $wac-green-color-darken;
1242
- transition: background-color 0.3s ease-in-out;
1243
- }
1235
+ &:hover {
1236
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1237
+ }
1244
1238
 
1245
- &:focus,
1246
- &.focus {
1247
- background-color: $wac-green-color-focus;
1248
- border-color: $wac-green-color-focus;
1249
- transition: background-color 0.3s ease-in-out;
1250
- }
1239
+ @include media('<desktop') {
1240
+ padding: 30px;
1241
+ }
1251
1242
 
1252
- &.is-outlined {
1253
- background-color: transparent;
1254
- border-color: $wac-green-color;
1243
+ @include media('<tablet') {
1244
+ padding: 20px;
1245
+ }
1255
1246
 
1256
- .wac-button__wrapper, .wac-button__animation {
1257
- color: $wac-green-color;
1258
- transition: color 0.3s ease-in-out;
1259
- }
1247
+ > strong {
1248
+ font-size: rem(30);
1249
+ text-align: center;
1250
+ display: block;
1251
+ width: 100%;
1252
+ font-weight: 600;
1253
+ margin: 0 0 -5px;
1254
+ }
1260
1255
 
1261
- &:hover,
1262
- &.hover {
1263
- background-color: $wac-green-color;
1264
- border-color: $wac-green-color;
1265
- }
1256
+ > p {
1257
+ font-size: rem(20);
1258
+ text-transform: uppercase;
1259
+ margin: 0 0 30px;
1260
+ text-align: center;
1261
+ display: block;
1262
+ width: 100%;
1263
+ font-weight: 600;
1264
+ }
1266
1265
 
1267
- &:focus,
1268
- &.focus {
1269
- background-color: $wac-green-color-focus;
1270
- border-color: $wac-green-color-focus;
1271
- transition: background-color 0.3s ease-in-out;
1272
- }
1273
- }
1266
+ .price {
1267
+ display: flex;
1268
+ align-items: flex-end;
1269
+ width: 100%;
1270
+ justify-content: center;
1271
+ position: relative;
1272
+ color: $wac-tag-success;
1273
+ margin: 0 0 5px;
1274
1274
 
1275
- &.is-loading {
1276
- &:hover,
1277
- &.hover {
1278
- background-color: $wac-green-color;
1279
- transition: background-color 0.3s ease-in-out;
1280
- }
1281
- }
1282
- &.opacity {
1283
- background-color: $wac-green-opacity;
1284
- border-color: $wac-green-opacity;
1285
- &:hover, &:focus {
1286
- background-color: $wac-green-color;
1287
- border-color: $wac-green-color;
1275
+ .amount {
1276
+ font-size: rem(60);
1277
+ font-weight: 600;
1278
+ margin: 0 5px 0 0;
1279
+ position: relative;
1280
+ line-height: 1;
1281
+ span {
1282
+ position: absolute;
1283
+ top: 0;
1284
+ left: 100%;
1285
+ margin: 0 0 0 3px;
1286
+ display: block;
1287
+ font-size: rem(18);
1288
1288
  }
1289
1289
  }
1290
- &.disabled {
1291
- background-color: $wac-green-color-disabled;
1292
- border-color: $wac-green-color-disabled;
1293
- transition: 0s;
1294
- cursor: default;
1295
-
1296
- .wac-button__wrapper, .wac-button__animation {
1297
- color: $wac-white;
1298
- }
1299
1290
 
1300
- &:hover,
1301
- &:focus,
1302
- &.hover,
1303
- &.focus {
1304
- background-color: $wac-green-color-disabled;
1305
- }
1291
+ .month {
1292
+ font-size: rem(24);
1293
+ margin: 0;
1294
+ font-weight: 600;
1295
+ line-height: 1;
1296
+ transform: translateY(-3px);
1306
1297
  }
1307
1298
  }
1308
1299
 
1309
- &.is-light {
1310
- background-color: transparent;
1311
- border-color: $wac-border-color;
1312
- transition: background-color 0.3s ease-in-out;
1313
-
1314
- .wac-button__loader {
1315
- background-color: $wac-hover-btn-grey;
1316
- }
1317
-
1318
- .wac-button__wrapper, .wac-button__animation {
1319
- color: $wac-secondary-color;
1300
+ .subtitle {
1301
+ font-size: rem(16);
1302
+ color: $wac-subtitle-color;
1303
+ margin: 0 0 30px;
1304
+ text-align: center;
1305
+ }
1306
+ }
1307
+ .wac-field-checkbox {
1308
+ &.disable-wt {
1309
+ .wac-field-checkbox__row {
1310
+ display: flex;
1311
+ width: 100%;
1320
1312
  }
1321
-
1322
- &:hover,
1323
- &.hover {
1324
- background-color: $wac-hover-btn-grey;
1325
- transition: background-color 0.3s ease-in-out;
1313
+ .is-checkradio[type='checkbox'] {
1314
+ & + label {
1315
+ white-space: normal;
1316
+ line-height: 1.4;
1317
+ padding: 0;
1318
+ > span {
1319
+ margin: 0 0 0 30px;
1320
+ transform: translateY(-4px);
1321
+ }
1322
+ }
1326
1323
  }
1327
-
1328
- &.is-loading {
1329
- &:hover,
1330
- &.hover {
1331
- background-color: transparent;
1332
- transition: background-color 0.3s ease-in-out;
1324
+ }
1325
+ &__row {
1326
+ position: relative;
1327
+ min-width: 100%;
1328
+ margin: 0;
1329
+ }
1330
+ &--nowrap {
1331
+ display: inline-block;
1332
+ width: auto;
1333
+ min-width: 0;
1334
+ margin: 0 10px 10px 0;
1335
+ .field {
1336
+ &__row {
1337
+ width: auto;
1338
+ display: inline-block;
1339
+ margin: 0;
1333
1340
  }
1334
1341
  }
1335
1342
  }
1336
1343
 
1337
- &.disabled {
1338
- background-color: $wac-disabled-button-background;
1339
- border-color: $wac-border-form;
1340
-
1341
- .wac-button__wrapper, .wac-button__animation {
1342
- color: $wac-disabled-button-text;
1344
+ input[type='text'] {
1345
+ height: 40px;
1346
+ max-height: 40px;
1347
+ padding: 0 20px;
1348
+ line-height: 40px;
1349
+ border: 1px solid $wac-border-form;
1350
+ border-radius: 3px;
1351
+ margin: 15px 0 10px !important;
1352
+ font-size: rem(14) !important;
1353
+ color: $wac-main-text;
1354
+ &:focus {
1355
+ border-color: $wac-wizishop-blue !important;
1356
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
1357
+ &::-webkit-input-placeholder {
1358
+ /* Chrome/Opera/Safari */
1359
+ opacity: 0;
1360
+ }
1361
+ &::-moz-placeholder {
1362
+ /* Firefox 19+ */
1363
+ opacity: 0;
1364
+ }
1365
+ &:-ms-input-placeholder {
1366
+ /* IE 10+ */
1367
+ opacity: 0;
1368
+ }
1369
+ &:-moz-placeholder {
1370
+ /* Firefox 18- */
1371
+ opacity: 0;
1372
+ }
1343
1373
  }
1344
1374
  }
1375
+ &.alone {
1376
+ .is-checkradio[type='checkbox'] {
1377
+ & + label {
1378
+ padding-left: 9px;
1379
+ margin-right: 0px;
1345
1380
 
1346
- &.is-outlined {
1347
- &:hover,
1348
- &.hover {
1349
- .wac-button__wrapper, .wac-button__animation {
1350
- color: $wac-white;
1351
- transition: color 0.3s ease-in-out;
1381
+ &:before {
1382
+ border-width: 1px;
1383
+ width: 16px;
1384
+ height: 16px;
1385
+ border-radius: 2px;
1386
+ }
1387
+ }
1388
+ &:checked + label {
1389
+ &:after {
1390
+ top: 7px;
1391
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1392
+ }
1352
1393
  }
1353
1394
  }
1354
1395
  }
1355
1396
 
1356
- &__loader {
1357
- position: absolute;
1358
- left: -1px;
1397
+ .is-checkradio[type='checkbox'] {
1398
+ outline: 0 !important;
1359
1399
  top: 0;
1360
- height: 100%;
1361
- z-index: 1;
1362
- transition: width 0.3s ease-in-out;
1363
- overflow: hidden;
1364
-
1365
- span {
1366
- position: absolute;
1367
- left: 20px;
1368
- top: 7px;
1369
- color: $wac-white;
1370
- overflow: hidden;
1371
- text-overflow: clip;
1372
- font-size: 14px;
1373
- line-height: 26px;
1400
+ & + label {
1401
+ font-size: rem(14);
1402
+ line-height: 0;
1403
+ color: $wac-input-radio-color-label;
1374
1404
  white-space: nowrap;
1375
- z-index: 3;
1376
-
1377
- i {
1378
- margin-right: 1.4px;
1405
+ padding: 0 8px;
1406
+ margin-right: 0;
1407
+ outline: 0 !important;
1408
+ &:before {
1409
+ width: 16px;
1410
+ height: 16px;
1411
+ border: 1px solid $wac-border-color;
1412
+ top: 0;
1413
+ transition: all 0.3s ease-in-out;
1379
1414
  }
1380
- }
1381
-
1382
- &.outlined {
1383
- z-index: 4;
1384
- }
1385
- }
1386
-
1387
- &.alone {
1388
- .wac-button__loader span {
1389
- left: 14.6px;
1390
- }
1391
- }
1392
-
1393
- &.opacity {
1394
- min-width: rem(40);
1395
- min-height: rem(40);
1396
-
1397
- &.alone {
1398
- display: flex;
1399
- align-items: center;
1400
- justify-content: center;
1401
- }
1402
-
1403
- &.is-success {
1404
- i {
1405
- color: $wac-green-color!important;
1415
+ &:after {
1416
+ top: 2.3px !important;
1417
+ left: 3px !important;
1418
+ width: 10px;
1419
+ height: 12px;
1420
+ border: none !important;
1421
+ background: transparent
1422
+ 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")
1423
+ center center / 8px 8px no-repeat;
1424
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
1425
+ transition: all 0.3s ease-in-out;
1406
1426
  }
1407
- &:hover, &:focus {
1408
- i {
1409
- color: $wac-white!important;
1427
+ span {
1428
+ margin: 0 0 0 rem(16);
1429
+ display: inline-block;
1430
+ }
1431
+ &:hover,
1432
+ &:focus {
1433
+ &:before {
1434
+ border-color: $wac-input-active-color !important;
1410
1435
  }
1411
1436
  }
1437
+ &:before,
1438
+ &:after {
1439
+ outline: 0 !important;
1440
+ }
1412
1441
  }
1413
-
1414
- &.is-danger {
1415
- i {
1416
- color: $wac-primary-button!important;
1442
+ &:hover {
1443
+ & + label {
1444
+ color: $wac-input-radio-color-active-label;
1445
+ &:before {
1446
+ border-color: $wac-input-active-color !important;
1447
+ }
1448
+ &:after {
1449
+ border-color: $wac-white !important;
1450
+ }
1417
1451
  }
1418
- &:hover, &:focus {
1419
- i {
1420
- color: $wac-white!important;
1452
+ &:not([disabled]) {
1453
+ & + label {
1454
+ &:before {
1455
+ border-color: $wac-input-active-color !important;
1456
+ }
1421
1457
  }
1422
1458
  }
1423
1459
  }
1460
+ &:checked + label {
1461
+ color: $wac-input-radio-color-active-label;
1462
+ &:before {
1463
+ border: 1px solid $wac-input-active-color;
1464
+ background-color: $wac-input-active-color;
1465
+ transition: all 0.3s ease-in-out;
1466
+ }
1467
+ &:after {
1468
+ left: 7px;
1469
+ top: 8px;
1470
+ transition: all 0.3s ease-in-out;
1471
+ }
1472
+ }
1424
1473
  }
1474
+
1425
1475
  }
1426
- .wac-calendar {
1476
+ .wac-button {
1477
+ @include flexbox();
1478
+ @include justify-content(center);
1479
+ @include align-items(center);
1427
1480
  position: relative;
1428
- margin: 0 0 20px;
1429
- width: 268px;
1430
- &--open {
1431
- z-index: 9;
1432
- .wac-calendar {
1433
- &__absolute {
1434
- visibility: visible;
1435
- opacity: 1;
1436
- transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
1437
- }
1438
- }
1481
+ display: block;
1482
+ padding: 7px 19px;
1483
+ border-style: solid;
1484
+ border-width: 1px;
1485
+ border-radius: 3px;
1486
+ box-sizing: border-box;
1487
+
1488
+ * {
1489
+ box-sizing: border-box;
1439
1490
  }
1440
- &--edit {
1491
+
1492
+ &.width-auto {
1493
+ display: inline-block;
1494
+ width: auto;
1495
+ margin: 0 auto;
1496
+ }
1497
+
1498
+ &.white-space-no-wrap {
1499
+ white-space: nowrap;
1500
+ }
1501
+
1502
+ &.animationText {
1503
+ width: rem(40);
1504
+ height: rem(40);
1505
+ padding: 0!important;
1506
+ border-radius: 3px;
1507
+ transition: 0s linear .3s!important;
1441
1508
  display: flex;
1442
- justify-content: flex-start;
1509
+ justify-content: center;
1443
1510
  align-items: center;
1444
- align-content: center;
1445
- & > * {
1446
- display: inline-block;
1447
- &:nth-child(2) {
1448
- margin: 0 10px;
1511
+ cursor: pointer;
1512
+ border: none;
1513
+ position: relative;
1514
+ &:hover, &:focus {
1515
+ transition: 0s!important;
1516
+ border-radius: 3px 0 0 3px;
1517
+ &.animation-right {
1518
+ border-radius: 0 3px 3px 0;
1519
+ }
1520
+ .wac-button__animation {
1521
+ transition: .3s ease!important;
1449
1522
  }
1450
1523
  }
1451
1524
  }
1452
- &--no-margin {
1453
- margin: 0;
1454
- .wac-calendar__autoHide {
1455
- margin: 0;
1456
- }
1457
- }
1458
- &__label {
1459
- font-size: rem(14) !important;
1460
- line-height: rem(16) !important;
1461
- margin: 0 0 10px !important;
1462
- color: $wac-color-text-grey !important;
1463
- cursor: pointer;
1464
- }
1465
- &__autoHide {
1466
- max-width: 300px;
1467
- position: relative;
1525
+
1526
+ &.small {
1527
+ padding: rem(4) rem(15);
1468
1528
  }
1529
+
1469
1530
  &__wrapper {
1470
- &__input {
1471
- border-radius: 3px;
1472
- display: flex;
1473
- justify-content: flex-start;
1474
- align-items: center;
1475
- align-content: center;
1476
- min-width: 240px;
1477
- max-width: 240px;
1478
- padding: 7px 20px;
1479
- border: 1px solid $wac-border-form;
1480
- cursor: pointer;
1481
- &__icon {
1482
- width: 16px;
1483
- margin: 0 10px 0 0;
1484
- display: flex;
1485
- justify-content: space-between;
1486
- align-items: center;
1487
- align-content: center;
1488
- cursor: pointer;
1489
- &:hover,
1490
- &:focus {
1491
- i {
1492
- color: darken($wac-wizishop-blue, 15%);
1493
- }
1494
- }
1495
- i {
1496
- color: $wac-second-color;
1497
- font-size: rem(18);
1498
- transition: color 300ms ease;
1499
- }
1531
+ position: relative;
1532
+ z-index: 2;
1533
+ color: $wac-white;
1534
+ font-size: 14px;
1535
+ line-height: 16px;
1536
+ font-weight: 500;
1537
+
1538
+ i {
1539
+ margin-right: 1.4px;
1540
+ }
1541
+ }
1542
+
1543
+ &__animation {
1544
+ overflow: hidden;
1545
+ max-width: 0;
1546
+ height: 40px;
1547
+ position: absolute;
1548
+ top: 0;
1549
+ left: 95%;
1550
+ z-index: 2;
1551
+ transition: .3s ease!important;
1552
+ .animation-right & {
1553
+ left: auto;
1554
+ right: 94%;
1555
+ > span {
1556
+ border-radius: 3px 0 0 3px;
1557
+ padding: 0 0 0 20px;
1500
1558
  }
1501
- &__date {
1502
- width: auto;
1503
- white-space: nowrap;
1504
- position: relative;
1559
+ }
1560
+ &__text {
1561
+ position: absolute;
1562
+ top: 0;
1563
+ left: 0;
1564
+ width: auto;
1565
+ white-space: nowrap;
1566
+ height: rem(40);
1567
+ line-height: rem(40);
1568
+ color: $wac-white !important;
1569
+ border-radius: 0 3px 3px 0;
1570
+ padding: 0 20px 0 0;
1571
+ font-size: rem(14);
1572
+ .is-success & {
1573
+ background-color: $wac-green-color;
1574
+ }
1575
+ .is-danger & {
1576
+ background-color: $wac-primary-button;
1577
+ }
1578
+ }
1579
+ }
1580
+
1581
+ &.deletePosition-center .wac-button__confirmDelete {
1582
+ left: 50%;
1583
+ transform: translateX(-50%) translateY(-1px);
1584
+ }
1585
+
1586
+ &.deletePosition-right .wac-button__confirmDelete {
1587
+ right: 0;
1588
+ transform: translateY(-1px);
1589
+ }
1590
+
1591
+ &.deletePosition-left .wac-button__confirmDelete {
1592
+ left: 0;
1593
+ transform: translateY(-1px);
1594
+ }
1595
+
1596
+ &__confirmDelete {
1597
+ overflow: hidden;
1598
+ max-width: 0;
1599
+ height: 40px;
1600
+ position: absolute;
1601
+ top: 0;
1602
+ z-index: 2;
1603
+ transition: .3s ease!important;
1604
+ border-radius: 3px;
1605
+
1606
+
1607
+ .is-success & {
1608
+ background-color: $wac-green-color;
1609
+ &:hover, &:focus {
1610
+ background-color: darken($wac-green-color, 15%);
1611
+ }
1612
+ }
1613
+ .is-danger & {
1614
+ background-color: $wac-primary-button;
1615
+ &:hover, &:focus {
1616
+ background-color: darken($wac-primary-button, 15%);
1617
+ }
1618
+ }
1619
+ &__text {
1620
+ position: absolute;
1621
+ top: 0;
1622
+ left: 50%;
1623
+ transform: translateX(-50%);
1624
+ width: auto;
1625
+ white-space: nowrap;
1626
+ height: rem(40);
1627
+ line-height: rem(40);
1628
+ color: $wac-white !important;
1629
+ padding: 0 20px;
1630
+ font-size: rem(14);
1631
+ opacity: 0;
1632
+ transition: .3s ease;
1633
+ }
1634
+ }
1635
+
1636
+ &.step-delete {
1637
+ i {
1638
+ transition: .3s ease!important;
1639
+ opacity: 0!important;
1640
+ }
1641
+ .wac-button__confirmDelete {
1642
+ transition: .6s ease .3s!important;
1643
+ &__text {
1644
+ opacity: 1;
1645
+ transition: .3s ease .9s;
1646
+ }
1647
+ }
1648
+ }
1649
+
1650
+ &.alone {
1651
+ padding: 7px 14.6px;
1652
+
1653
+ .wac-button__wrapper i {
1654
+ margin-right: 0;
1655
+ }
1656
+ }
1657
+
1658
+ &.is-outlined {
1659
+ &:hover,
1660
+ &.hover {
1661
+ .wac-button__wrapper, .wac-button__animation {
1662
+ color: $wac-white;
1663
+ transition: color 0.3s ease-in-out;
1664
+ }
1665
+ }
1666
+ }
1667
+
1668
+ &.is-dark {
1669
+ background-color: $wac-main-text;
1670
+ border-color: $wac-main-text;
1671
+ transition: background-color 0.3s ease-in-out;
1672
+
1673
+ .wac-button__loader {
1674
+ background-color: $wac-main-text;
1675
+ }
1676
+
1677
+ &:hover,
1678
+ &.hover {
1679
+ background-color: $wac-main-text-lighten;
1680
+ border-color: $wac-main-text-lighten;
1681
+ transition: background-color 0.3s ease-in-out;
1682
+ }
1683
+
1684
+ &:focus,
1685
+ &.focus {
1686
+ background-color: $wac-main-text-lighten;
1687
+ border-color: $wac-main-text-lighten;
1688
+ transition: background-color 0.3s ease-in-out;
1689
+ }
1690
+
1691
+ &.is-outlined {
1692
+ background-color: transparent;
1693
+ border-color: $wac-main-text;
1694
+
1695
+ .wac-button__loader {
1696
+ background-color: $wac-main-text;
1697
+ }
1698
+
1699
+ .wac-button__wrapper, .wac-button__animation {
1505
1700
  color: $wac-main-text;
1506
- font-size: rem(14);
1507
- line-height: rem(24);
1508
- margin: 0 15px 0 0;
1509
- letter-spacing: 0.65px;
1510
- &:after {
1511
- content: '';
1512
- display: block;
1513
- position: absolute;
1514
- width: 1px;
1515
- height: 15px;
1516
- background-color: $wac-input-border;
1517
- top: 50%;
1518
- right: -15px;
1519
- transform: translateY(-50%);
1701
+ transition: color 0.3s ease-in-out;
1702
+ }
1703
+
1704
+ &:hover,
1705
+ &.hover {
1706
+ background-color: $wac-main-text;
1707
+ border-color: $wac-main-text;
1708
+ .wac-button__wrapper, .wac-button__animation {
1709
+ color: $wac-white;
1710
+ transition: color 0.3s ease-in-out;
1711
+ }
1712
+ }
1713
+
1714
+ &:focus,
1715
+ &.focus {
1716
+ background-color: $wac-main-text;
1717
+ border-color: $wac-main-text;
1718
+ transition: background-color 0.3s ease-in-out;
1719
+ .wac-button__wrapper, .wac-button__animation {
1720
+ color: $wac-white;
1721
+ transition: color 0.3s ease-in-out;
1520
1722
  }
1521
1723
  }
1522
- &__time {
1523
- width: auto;
1524
- white-space: nowrap;
1525
- font-size: rem(14);
1526
- line-height: rem(24);
1527
- color: $wac-main-text;
1528
- margin: 0 15px;
1529
- letter-spacing: 1.3px;
1724
+ }
1725
+ }
1726
+
1727
+ &.is-info {
1728
+ background-color: $wac-wizishop-blue-button;
1729
+ border-color: $wac-wizishop-blue-button;
1730
+ transition: background-color 0.3s ease-in-out;
1731
+
1732
+ .wac-button__loader {
1733
+ background-color: $wac-wizishop-blue-button-darken;
1734
+ }
1735
+
1736
+ &:hover,
1737
+ &.hover {
1738
+ background-color: $wac-wizishop-blue-button-darken;
1739
+ border-color: $wac-wizishop-blue-button-darken;
1740
+ transition: background-color 0.3s ease-in-out;
1741
+ }
1742
+
1743
+ &:focus,
1744
+ &.focus {
1745
+ background-color: $wac-wizishop-blue-button-focus;
1746
+ border-color: $wac-wizishop-blue-button-focus;
1747
+ transition: background-color 0.3s ease-in-out;
1748
+ }
1749
+
1750
+ &.is-outlined {
1751
+ background-color: transparent;
1752
+ border-color: $wac-wizishop-blue-button;
1753
+
1754
+ .wac-button__loader {
1755
+ background-color: $wac-wizishop-blue-button-darken;
1756
+ }
1757
+
1758
+ .wac-button__wrapper, .wac-button__animation {
1759
+ color: $wac-wizishop-blue-button;
1760
+ transition: color 0.3s ease-in-out;
1761
+ }
1762
+
1763
+ &:hover,
1764
+ &.hover {
1765
+ background-color: $wac-wizishop-blue-button;
1766
+ border-color: $wac-wizishop-blue-button;
1767
+ }
1768
+
1769
+ &:focus,
1770
+ &.focus {
1771
+ background-color: $wac-wizishop-blue-button-focus;
1772
+ border-color: $wac-wizishop-blue-button-focus;
1773
+ transition: background-color 0.3s ease-in-out;
1774
+ }
1775
+ }
1776
+
1777
+ &.is-loading {
1778
+ &:hover,
1779
+ &.hover {
1780
+ background-color: $wac-wizishop-blue-button;
1781
+ transition: background-color 0.3s ease-in-out;
1782
+ }
1783
+ &:focus,
1784
+ &.focus {
1785
+ background-color: $wac-wizishop-blue-button-focus;
1786
+ border-color: $wac-wizishop-blue-button-focus;
1787
+ transition: background-color 0.3s ease-in-out;
1788
+ }
1789
+ }
1790
+
1791
+ &.disabled {
1792
+ background-color: $wac-wizishop-blue-button-disabled;
1793
+ border-color: $wac-wizishop-blue-button-disabled;
1794
+ transition: 0s;
1795
+ cursor: default;
1796
+ .wac-button__wrapper, .wac-button__animation {
1797
+ color: $wac-white;
1798
+ }
1799
+ &:hover,
1800
+ &:focus,
1801
+ &.hover,
1802
+ &.focus {
1803
+ background-color: $wac-wizishop-blue-button-disabled;
1804
+ border-color: $wac-wizishop-blue-button-disabled;
1805
+ }
1806
+ }
1807
+ }
1808
+
1809
+ &.is-orange {
1810
+ background-color: $wac-orange-color;
1811
+ border-color: $wac-orange-color;
1812
+ transition: background-color 0.3s ease-in-out;
1813
+
1814
+ .wac-button__loader {
1815
+ background-color: $wac-orange-color-darken;
1816
+ }
1817
+
1818
+ &:hover,
1819
+ &.hover {
1820
+ background-color: $wac-orange-color-darken;
1821
+ border-color: $wac-orange-color-darken;
1822
+ transition: background-color 0.3s ease-in-out;
1823
+ }
1824
+
1825
+ &:focus,
1826
+ &.focus {
1827
+ background-color: $wac-orange-color-focus;
1828
+ border-color: $wac-orange-color-focus;
1829
+ transition: background-color 0.3s ease-in-out;
1830
+ }
1831
+
1832
+ &.is-outlined {
1833
+ background-color: transparent;
1834
+ border-color: $wac-orange-color;
1835
+
1836
+ .wac-button__loader {
1837
+ background-color: $wac-orange-color-darken;
1838
+ }
1839
+
1840
+ .wac-button__wrapper, .wac-button__animation {
1841
+ color: $wac-orange-color;
1842
+ transition: color 0.3s ease-in-out;
1530
1843
  }
1531
- &__close {
1532
- width: 10px;
1533
- cursor: pointer;
1534
- i {
1535
- font-size: 14px;
1536
- transition: color 300ms ease;
1537
- color: $wac-primary-button;
1538
- font-weight: 400;
1539
- }
1540
- &:hover,
1541
- &:focus {
1542
- i {
1543
- color: darken($wac-primary-button, 15%);
1544
- }
1545
- }
1844
+
1845
+ &:hover,
1846
+ &.hover {
1847
+ background-color: $wac-orange-color;
1848
+ border-color: $wac-orange-color;
1849
+ }
1850
+
1851
+ &:focus,
1852
+ &.focus {
1853
+ background-color: $wac-orange-color-focus;
1854
+ border-color: $wac-orange-color-focus;
1855
+ transition: background-color 0.3s ease-in-out;
1546
1856
  }
1547
1857
  }
1548
- &__editInPlace {
1549
- display: flex;
1550
- justify-content: space-between;
1551
- padding: 5px 0;
1552
- position: relative;
1553
- align-content: center;
1554
- align-items: center;
1555
- cursor: pointer;
1556
- max-width: 140px;
1557
- &:after {
1558
- position: absolute;
1559
- content: '';
1560
- border-bottom: dashed 1px $wac-calendar-primary;
1561
- width: 100%;
1562
- bottom: 0;
1563
- left: 0;
1858
+
1859
+ &.is-loading {
1860
+ &:hover,
1861
+ &.hover {
1862
+ background-color: $wac-orange-color;
1863
+ transition: background-color 0.3s ease-in-out;
1564
1864
  }
1565
- &__icon {
1566
- width: 12px;
1567
- margin: 0 5px 0 0;
1568
- display: flex;
1569
- justify-content: space-between;
1570
- align-items: center;
1571
- align-content: center;
1572
- i {
1573
- font-size: rem(14);
1574
- color: $wac-wizishop-blue;
1575
- transition: color 300ms ease;
1576
- }
1865
+ &:focus,
1866
+ &.focus {
1867
+ background-color: $wac-orange-color-focus;
1868
+ border-color: $wac-orange-color-focus;
1869
+ transition: background-color 0.3s ease-in-out;
1577
1870
  }
1578
- &__date {
1579
- position: relative;
1580
- color: $wac-header-color;
1581
- font-size: rem(14);
1582
- width: auto;
1583
- transition: 300ms ease;
1584
- white-space: nowrap;
1871
+ }
1872
+
1873
+ &.disabled {
1874
+ background-color: $wac-orange-color-disabled;
1875
+ border-color: $wac-orange-color-disabled;
1876
+ transition: 0s;
1877
+ cursor: default;
1878
+ .wac-button__wrapper, .wac-button__animation {
1879
+ color: $wac-white;
1585
1880
  }
1586
1881
  &:hover,
1587
- &:focus {
1588
- .wac-calendar {
1589
- &__wrapper {
1590
- &__editInPlace {
1591
- &__date {
1592
- color: darken($wac-header-color, 30%);
1593
- }
1594
- &__icon {
1595
- i {
1596
- color: darken($wac-wizishop-blue, 15%);
1597
- }
1598
- }
1599
- }
1600
- }
1601
- }
1882
+ &:focus,
1883
+ &.hover,
1884
+ &.focus {
1885
+ background-color: $wac-orange-color-disabled;
1886
+ border-color: $wac-orange-color-disabled;
1602
1887
  }
1603
1888
  }
1604
- &__select {
1605
- border-radius: 3px;
1606
- display: flex;
1607
- justify-content: flex-start;
1608
- align-items: center;
1609
- align-content: center;
1610
- min-width: 220px;
1611
- max-width: 220px;
1612
- padding: 11px 19px;
1613
- border: 1px solid $wac-input-border;
1614
- cursor: pointer;
1615
- background: $wac-white no-repeat center right 15px
1616
- 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);
1617
- &__icon {
1618
- width: 16px;
1619
- margin: 0 10px 0 0;
1620
- display: flex;
1621
- justify-content: space-between;
1622
- align-items: center;
1623
- align-content: center;
1624
- cursor: pointer;
1625
- &:hover,
1626
- &:focus {
1627
- i {
1628
- color: darken($wac-second-color, 15%);
1629
- }
1630
- }
1631
- i {
1632
- font-size: rem(18);
1633
- font-weight: 400;
1634
- color: $wac-second-color;
1635
- transition: color 300ms ease;
1636
- }
1889
+ }
1890
+
1891
+ &.is-pink {
1892
+ background-color: $wac-pink-color;
1893
+ border-color: $wac-pink-color;
1894
+ transition: background-color 0.3s ease-in-out;
1895
+
1896
+ .wac-button__loader {
1897
+ background-color: $wac-pink-color-darken;
1898
+ }
1899
+
1900
+ &:hover,
1901
+ &.hover {
1902
+ background-color: $wac-pink-color-darken;
1903
+ border-color: $wac-pink-color-darken;
1904
+ transition: background-color 0.3s ease-in-out;
1905
+ }
1906
+
1907
+ &:focus,
1908
+ &.focus {
1909
+ background-color: $wac-pink-color-focus;
1910
+ border-color: $wac-pink-color-focus;
1911
+ transition: background-color 0.3s ease-in-out;
1912
+ }
1913
+
1914
+ &.is-outlined {
1915
+ background-color: transparent;
1916
+ border-color: $wac-pink-color;
1917
+
1918
+ .wac-button__loader {
1919
+ background-color: $wac-pink-color-darken;
1637
1920
  }
1638
- &__date {
1639
- width: auto;
1640
- position: relative;
1641
- color: $wac-header-color;
1642
- font-size: rem(14);
1643
- white-space: nowrap;
1644
- margin: 0;
1645
- &:after {
1646
- display: none;
1647
- }
1921
+
1922
+ .wac-button__wrapper, .wac-button__animation {
1923
+ color: $wac-pink-color;
1924
+ transition: color 0.3s ease-in-out;
1648
1925
  }
1649
- &__close {
1650
- width: 10px;
1651
- cursor: pointer;
1652
- i {
1653
- font-size: 14px;
1654
- transition: color 300ms ease;
1655
- color: $wac-primary-button;
1656
- }
1657
- &:hover,
1658
- &:focus {
1659
- i {
1660
- color: darken($wac-primary-button, 15%);
1661
- }
1662
- }
1926
+
1927
+ &:hover,
1928
+ &.hover {
1929
+ background-color: $wac-pink-color;
1930
+ border-color: $wac-pink-color;
1931
+ }
1932
+
1933
+ &:focus,
1934
+ &.focus {
1935
+ background-color: $wac-pink-color-focus;
1936
+ border-color: $wac-pink-color-focus;
1937
+ transition: background-color 0.3s ease-in-out;
1938
+ }
1939
+ }
1940
+
1941
+ &.is-loading {
1942
+ &:hover,
1943
+ &.hover {
1944
+ background-color: $wac-pink-color;
1945
+ transition: background-color 0.3s ease-in-out;
1946
+ }
1947
+ &:focus,
1948
+ &.focus {
1949
+ background-color: $wac-pink-color-focus;
1950
+ border-color: $wac-pink-color-focus;
1951
+ transition: background-color 0.3s ease-in-out;
1952
+ }
1953
+ }
1954
+
1955
+ &.disabled {
1956
+ background-color: $wac-pink-color-disabled;
1957
+ border-color: $wac-pink-color-disabled;
1958
+ transition: 0s;
1959
+ cursor: default;
1960
+ .wac-button__wrapper, .wac-button__animation {
1961
+ color: $wac-white;
1962
+ }
1963
+ &:hover,
1964
+ &:focus,
1965
+ &.hover,
1966
+ &.focus {
1967
+ background-color: $wac-pink-color-disabled;
1968
+ border-color: $wac-pink-color-disabled;
1663
1969
  }
1664
1970
  }
1665
- }
1666
- &__absolute {
1667
- position: absolute;
1668
- top: 100%;
1669
- left: 50%;
1670
- transform: translateX(-50%);
1671
- visibility: hidden;
1672
- opacity: 0;
1673
- transition: 0.3s ease opacity, 0s visibility 0.31s;
1674
- border: 1px solid $wac-border-light;
1675
- background-color: $wac-white;
1676
- box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
1677
- border-radius: 3px;
1678
- max-width: 268px;
1679
- min-width: 268px;
1680
- &.bottom {
1681
- transform: translateX(-50%) translateY(10px);
1971
+ }
1972
+
1973
+ &.is-grey {
1974
+ background-color: $wac-background-color;
1975
+ border-color: $wac-background-color;
1976
+ transition: background-color 0.3s ease-in-out;
1977
+
1978
+ .wac-button__loader {
1979
+ background-color: $wac-background-color-darken;
1980
+ }
1981
+
1982
+ .wac-button__wrapper, .wac-button__animation {
1983
+ color: $wac-second-color;
1984
+ transition: color 0.3s ease-in-out;
1682
1985
  }
1683
- &.top {
1684
- top: auto;
1685
- bottom: 100%;
1686
- transform: translateX(-50%) translateY(-10px);
1986
+
1987
+ &:hover,
1988
+ &.hover {
1989
+ background-color: $wac-background-color-darken;
1990
+ border-color: $wac-background-color-darken;
1991
+ transition: background-color 0.3s ease-in-out;
1687
1992
  }
1688
- &.left {
1689
- transform: translateY(-50%) translateX(-10px);
1690
- left: auto;
1691
- right: 100%;
1692
- top: 50%;
1993
+
1994
+ &:focus,
1995
+ &.focus {
1996
+ background-color: $wac-background-color-focus;
1997
+ border-color: $wac-background-color-focus;
1998
+ transition: background-color 0.3s ease-in-out;
1693
1999
  }
1694
- &.right {
1695
- transform: translateY(-50%) translateX(10px);
1696
- left: 100%;
1697
- top: 50%;
2000
+
2001
+ &.is-outlined {
2002
+ background-color: transparent;
2003
+ border-color: $wac-border-light;
2004
+
2005
+ .wac-button__loader {
2006
+ background-color: $wac-background-color-darken;
2007
+ }
2008
+
2009
+ .wac-button__wrapper, .wac-button__animation {
2010
+ color: $wac-second-color !important;
2011
+ transition: color 0.3s ease-in-out;
2012
+ }
2013
+
2014
+ &:hover,
2015
+ &.hover {
2016
+ background-color: $wac-background-color;
2017
+ border-color: $wac-background-color;
2018
+ }
2019
+
2020
+ &:focus,
2021
+ &.focus {
2022
+ background-color: $wac-background-color-focus;
2023
+ border-color: $wac-background-color-focus;
2024
+ transition: background-color 0.3s ease-in-out;
2025
+ }
1698
2026
  }
1699
- &.left-top {
1700
- left: auto;
1701
- right: 100%;
1702
- top: auto;
1703
- bottom: 0;
1704
- transform: translateY(-10px) translateX(-10px);
2027
+
2028
+ &.is-loading {
2029
+ &:hover,
2030
+ &.hover {
2031
+ background-color: $wac-background-color;
2032
+ transition: background-color 0.3s ease-in-out;
2033
+ }
1705
2034
  }
1706
- &.left-bottom {
1707
- left: auto;
1708
- right: 100%;
1709
- top: 0;
1710
- transform: translateY(10px) translateX(-10px);
2035
+
2036
+ &.disabled {
2037
+ background-color: $wac-background-color-disabled;
2038
+ border-color: $wac-background-color-disabled;
2039
+ transition: 0s;
2040
+ cursor: default;
2041
+
2042
+ &:hover,
2043
+ &:focus,
2044
+ &.hover,
2045
+ &.focus {
2046
+ background-color: $wac-background-color-disabled;
2047
+ border-color: $wac-background-color-disabled;
2048
+ }
1711
2049
  }
1712
- &.right-top {
1713
- left: 100%;
1714
- top: auto;
1715
- bottom: 0;
1716
- transform: translateY(-10px) translateX(10px);
2050
+ }
2051
+
2052
+ &.is-danger {
2053
+ background-color: $wac-primary-button;
2054
+ border-color: $wac-primary-button;
2055
+ transition: background-color 0.3s ease-in-out;
2056
+
2057
+ .wac-button__loader {
2058
+ background-color: $wac-primary-button-darken;
1717
2059
  }
1718
- &.right-bottom {
1719
- left: 100%;
1720
- top: 0;
1721
- transform: translateY(10px) translateX(10px);
2060
+
2061
+ &:hover,
2062
+ &.hover {
2063
+ background-color: $wac-primary-button-darken;
2064
+ border-color: $wac-primary-button-darken;
2065
+ transition: background-color 0.3s ease-in-out;
1722
2066
  }
1723
- & > * > * {
1724
- width: 265px;
2067
+
2068
+ &:focus,
2069
+ &.focus {
2070
+ background-color: $wac-primary-button-focus;
2071
+ border-color: $wac-primary-button-focus;
2072
+ transition: background-color 0.3s ease-in-out;
1725
2073
  }
1726
- &__time {
1727
- position: relative;
1728
- background-color: $wac-white;
1729
- padding: 20px;
1730
- width: 100%;
1731
- &:before {
1732
- content: '';
1733
- width: 100%;
1734
- height: 5px;
1735
- bottom: 100%;
1736
- margin-bottom: -2px;
1737
- display: block;
1738
- position: absolute;
1739
- left: 0;
1740
- background-color: $wac-white;
2074
+
2075
+ &.is-outlined {
2076
+ background-color: transparent;
2077
+ border-color: $wac-primary-button;
2078
+
2079
+ .wac-button__wrapper, .wac-button__animation {
2080
+ color: $wac-primary-button;
2081
+ transition: color 0.3s ease-in-out;
1741
2082
  }
1742
- &__wrapper {
1743
- width: 100% !important;
1744
- display: flex;
1745
- align-items: center;
1746
- align-content: center;
1747
- justify-content: center;
1748
- min-height: 42px;
1749
- position: relative;
1750
- &:before {
1751
- content: '';
1752
- display: block;
1753
- background-color: $wac-wizishop-blue;
1754
- width: 4px;
1755
- height: 4px;
1756
- border-radius: 50%;
1757
- position: absolute;
1758
- top: 50%;
1759
- left: 50%;
1760
- transform: translate(-50%, -50%);
1761
- margin-top: -4px;
1762
- }
1763
- &:after {
1764
- content: '';
1765
- display: block;
1766
- background-color: $wac-wizishop-blue;
1767
- width: 4px;
1768
- height: 4px;
1769
- border-radius: 50%;
1770
- position: absolute;
1771
- top: 50%;
1772
- left: 50%;
1773
- transform: translate(-50%, -50%);
1774
- margin-top: 4px;
1775
- }
1776
- &__hours,
1777
- &__minutes {
1778
- position: relative;
1779
- width: 100px;
1780
- display: flex;
1781
- flex-wrap: nowrap;
1782
- &__left,
1783
- &__right {
1784
- width: 100%;
1785
- display: flex;
1786
- flex-wrap: nowrap;
1787
- justify-content: center;
1788
- flex-direction: column;
1789
- align-items: center;
1790
- align-content: center;
1791
- }
1792
- &__btn {
1793
- display: flex;
1794
- justify-content: center;
1795
- flex-direction: column;
1796
- align-items: center;
1797
- align-content: center;
1798
- width: 40px;
1799
- height: 20px;
1800
- background-color: $wac-gray-background;
1801
- box-shadow: none;
1802
- border: none;
1803
- cursor: pointer;
1804
- transition: 0.3s ease;
1805
- &:hover,
1806
- &:focus {
1807
- background-color: $wac-wizishop-blue;
1808
- i {
1809
- color: $wac-white;
1810
- }
1811
- }
1812
- &:first-child {
1813
- margin: 0 0 2px;
1814
- }
1815
- i {
1816
- font-size: rem(10);
1817
- color: $wac-second-color;
1818
- margin: 0;
1819
- }
1820
- }
1821
2083
 
1822
- input::-webkit-outer-spin-button,
1823
- input::-webkit-inner-spin-button {
1824
- -webkit-appearance: none;
1825
- margin: 0;
1826
- }
2084
+ &:hover,
2085
+ &.hover {
2086
+ background-color: $wac-primary-button;
2087
+ border-color: $wac-primary-button;
2088
+ }
2089
+
2090
+ &:focus,
2091
+ &.focus {
2092
+ background-color: $wac-primary-button-focus;
2093
+ border-color: $wac-primary-button-focus;
2094
+ transition: background-color 0.3s ease-in-out;
2095
+ }
2096
+ }
1827
2097
 
1828
- /* Firefox */
1829
- input[type='number'] {
1830
- -moz-appearance: textfield;
1831
- }
2098
+ &.is-loading {
2099
+ &:hover,
2100
+ &.hover {
2101
+ background-color: $wac-primary-button;
2102
+ transition: background-color 0.3s ease-in-out;
2103
+ }
2104
+ }
1832
2105
 
1833
- input {
1834
- border: none;
1835
- text-align: center;
1836
- font-size: rem(24);
1837
- color: $wac-wizishop-blue;
1838
- padding: 0;
1839
- line-height: 1.4;
1840
- margin: 0;
1841
- width: 100%;
1842
- }
1843
- }
1844
- &__hours {
1845
- margin: 0 10px 0 0;
1846
- }
1847
- &__minutes {
1848
- margin: 0 0 0 10px;
1849
- }
2106
+ &.opacity {
2107
+ background-color: $wac-primary-button-light;
2108
+ border-color: $wac-primary-button-light;
2109
+ &:hover, &:focus {
2110
+ background-color: $wac-primary-button;
2111
+ border-color: $wac-primary-button;
1850
2112
  }
1851
2113
  }
1852
- }
1853
- }
1854
2114
 
1855
- .datetimepicker-dummy .datetimepicker-clear-button {
1856
- top: -3px !important;
1857
- }
2115
+ &.disabled {
2116
+ background-color: $wac-primary-button-disabled;
2117
+ border-color: $wac-primary-button-disabled;
2118
+ transition: 0s;
2119
+ cursor: default;
1858
2120
 
1859
- .datetimepicker-dummy .datetimepicker-dummy-wrapper {
1860
- border: 1px solid $wac-border-color;
1861
- border-radius: rem(3);
2121
+ .wac-button__wrapper, .wac-button__animation {
2122
+ color: $wac-white;
2123
+ }
1862
2124
 
1863
- &:hover,
1864
- &:focus {
1865
- border: 1px solid $wac-wizishop-blue;
2125
+ &:hover,
2126
+ &:focus,
2127
+ &.hover,
2128
+ &.focus {
2129
+ background-color: $wac-primary-button-disabled;
2130
+ border-color: $wac-primary-button-disabled;
2131
+ }
2132
+ }
1866
2133
  }
1867
- }
1868
2134
 
2135
+ &.is-success {
2136
+ background-color: $wac-green-color;
2137
+ border-color: $wac-green-color;
2138
+ transition: background-color 0.3s ease-in-out;
1869
2139
 
1870
- .datetimepicker {
1871
- box-shadow: none !important;
1872
- &-wrapper {
1873
- border: none !important;
1874
- box-shadow: none;
1875
- background: $wac-white;
1876
- }
1877
- }
2140
+ .wac-button__loader {
2141
+ background-color: $wac-green-color-darken;
2142
+ }
1878
2143
 
1879
- .datepicker {
1880
- .datepicker {
1881
- &-nav {
1882
- background: $wac-white !important;
1883
- color: $wac-main-text !important;
1884
- padding: 15px !important;
2144
+ &:hover,
2145
+ &.hover {
2146
+ background-color: $wac-green-color-darken;
2147
+ border-color: $wac-green-color-darken;
2148
+ transition: background-color 0.3s ease-in-out;
1885
2149
  }
1886
- }
1887
- }
1888
2150
 
1889
- .datetimepicker .datepicker-nav .datepicker-nav-month,
1890
- .datetimepicker .datepicker-nav .datepicker-nav-year {
1891
- color: $wac-main-text !important;
1892
- font-weight: 500 !important;
1893
- &:hover,
1894
- &:focus {
1895
- color: $wac-wizishop-blue !important;
1896
- }
1897
- }
2151
+ &:focus,
2152
+ &.focus {
2153
+ background-color: $wac-green-color-focus;
2154
+ border-color: $wac-green-color-focus;
2155
+ transition: background-color 0.3s ease-in-out;
2156
+ }
1898
2157
 
1899
- .datepicker-nav-year {
1900
- font-weight: 500 !important;
1901
- }
2158
+ &.is-outlined {
2159
+ background-color: transparent;
2160
+ border-color: $wac-green-color;
1902
2161
 
1903
- .datetimepicker .datepicker-nav .datepicker-nav-previous,
1904
- .datetimepicker .datepicker-nav .datepicker-nav-next {
1905
- border-radius: 3px;
1906
- color: $wac-main-text !important;
1907
- width: 25px !important;
1908
- height: 25px !important;
1909
- display: flex;
1910
- justify-content: center;
1911
- align-items: center;
1912
- align-content: center;
1913
- border: 1px solid $wac-border-light;
1914
- transition: 0.3s ease;
1915
- > svg {
1916
- display: none !important;
1917
- }
1918
- }
2162
+ .wac-button__wrapper, .wac-button__animation {
2163
+ color: $wac-green-color;
2164
+ transition: color 0.3s ease-in-out;
2165
+ }
1919
2166
 
1920
- .datetimepicker .datepicker-nav .datepicker-nav-previous {
1921
- background: $wac-white
1922
- 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")
1923
- center center no-repeat !important;
1924
- background-size: 6px auto !important;
1925
- &:hover,
1926
- &:focus {
1927
- border-color: $wac-wizishop-blue !important;
1928
- }
1929
- }
2167
+ &:hover,
2168
+ &.hover {
2169
+ background-color: $wac-green-color;
2170
+ border-color: $wac-green-color;
2171
+ }
1930
2172
 
1931
- .datetimepicker .datepicker-nav .datepicker-nav-next {
1932
- background: $wac-white
1933
- 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")
1934
- center center no-repeat !important;
1935
- background-size: 6px auto !important;
1936
- &:hover,
1937
- &:focus {
1938
- border-color: $wac-wizishop-blue !important;
1939
- }
1940
- }
2173
+ &:focus,
2174
+ &.focus {
2175
+ background-color: $wac-green-color-focus;
2176
+ border-color: $wac-green-color-focus;
2177
+ transition: background-color 0.3s ease-in-out;
2178
+ }
2179
+ }
1941
2180
 
1942
- .wac-calendar__absolute {
1943
- .datetimepicker .datepicker-body .datepicker-weekdays {
1944
- padding: 0 15px;
1945
- }
1946
- .datepicker-weekdays {
1947
- height: 14px;
1948
- margin: 0 0 rem(12);
1949
- .datepicker-date {
1950
- font-size: rem(12);
1951
- white-space: nowrap;
1952
- line-height: 1;
1953
- padding: 0 !important;
1954
- color: $wac-secondary-color !important;
2181
+ &.is-loading {
2182
+ &:hover,
2183
+ &.hover {
2184
+ background-color: $wac-green-color;
2185
+ transition: background-color 0.3s ease-in-out;
2186
+ }
2187
+ }
2188
+ &.opacity {
2189
+ background-color: $wac-green-opacity;
2190
+ border-color: $wac-green-opacity;
2191
+ &:hover, &:focus {
2192
+ background-color: $wac-green-color;
2193
+ border-color: $wac-green-color;
2194
+ }
2195
+ }
2196
+ &.disabled {
2197
+ background-color: $wac-green-color-disabled;
2198
+ border-color: $wac-green-color-disabled;
2199
+ transition: 0s;
2200
+ cursor: default;
2201
+
2202
+ .wac-button__wrapper, .wac-button__animation {
2203
+ color: $wac-white;
2204
+ }
2205
+
2206
+ &:hover,
2207
+ &:focus,
2208
+ &.hover,
2209
+ &.focus {
2210
+ background-color: $wac-green-color-disabled;
2211
+ }
1955
2212
  }
1956
2213
  }
1957
- .datepicker-days {
1958
- padding: 0 15px !important;
1959
- }
1960
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
1961
- background-color: $wac-wizishop-blue;
1962
- }
1963
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
1964
- border-color: $wac-wizishop-blue;
1965
- }
1966
- }
1967
2214
 
1968
- .datetimepicker .datetimepicker-footer {
1969
- display: none;
1970
- }
1971
- .wac-field-checkbox {
1972
- &.disable-wt {
1973
- .wac-field-checkbox__row {
1974
- display: flex;
1975
- width: 100%;
2215
+ &.is-light {
2216
+ background-color: transparent;
2217
+ border-color: $wac-border-color;
2218
+ transition: background-color 0.3s ease-in-out;
2219
+
2220
+ .wac-button__loader {
2221
+ background-color: $wac-hover-btn-grey;
1976
2222
  }
1977
- .is-checkradio[type='checkbox'] {
1978
- & + label {
1979
- white-space: normal;
1980
- line-height: 1.4;
1981
- padding: 0;
1982
- > span {
1983
- margin: 0 0 0 30px;
1984
- transform: translateY(-4px);
1985
- }
1986
- }
2223
+
2224
+ .wac-button__wrapper, .wac-button__animation {
2225
+ color: $wac-secondary-color;
2226
+ }
2227
+
2228
+ &:hover,
2229
+ &.hover {
2230
+ background-color: $wac-hover-btn-grey;
2231
+ transition: background-color 0.3s ease-in-out;
1987
2232
  }
1988
- }
1989
- &__row {
1990
- position: relative;
1991
- min-width: 100%;
1992
- margin: 0;
1993
- }
1994
- &--nowrap {
1995
- display: inline-block;
1996
- width: auto;
1997
- min-width: 0;
1998
- margin: 0 10px 10px 0;
1999
- .field {
2000
- &__row {
2001
- width: auto;
2002
- display: inline-block;
2003
- margin: 0;
2233
+
2234
+ &.is-loading {
2235
+ &:hover,
2236
+ &.hover {
2237
+ background-color: transparent;
2238
+ transition: background-color 0.3s ease-in-out;
2004
2239
  }
2005
2240
  }
2006
2241
  }
2007
2242
 
2008
- input[type='text'] {
2009
- height: 40px;
2010
- max-height: 40px;
2011
- padding: 0 20px;
2012
- line-height: 40px;
2013
- border: 1px solid $wac-border-form;
2014
- border-radius: 3px;
2015
- margin: 15px 0 10px !important;
2016
- font-size: rem(14) !important;
2017
- color: $wac-main-text;
2018
- &:focus {
2019
- border-color: $wac-wizishop-blue !important;
2020
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
2021
- &::-webkit-input-placeholder {
2022
- /* Chrome/Opera/Safari */
2023
- opacity: 0;
2024
- }
2025
- &::-moz-placeholder {
2026
- /* Firefox 19+ */
2027
- opacity: 0;
2028
- }
2029
- &:-ms-input-placeholder {
2030
- /* IE 10+ */
2031
- opacity: 0;
2032
- }
2033
- &:-moz-placeholder {
2034
- /* Firefox 18- */
2035
- opacity: 0;
2036
- }
2243
+ &.disabled {
2244
+ background-color: $wac-disabled-button-background;
2245
+ border-color: $wac-border-form;
2246
+
2247
+ .wac-button__wrapper, .wac-button__animation {
2248
+ color: $wac-disabled-button-text;
2037
2249
  }
2038
2250
  }
2039
- &.alone {
2040
- .is-checkradio[type='checkbox'] {
2041
- & + label {
2042
- padding-left: 9px;
2043
- margin-right: 0px;
2044
2251
 
2045
- &:before {
2046
- border-width: 1px;
2047
- width: 16px;
2048
- height: 16px;
2049
- border-radius: 2px;
2050
- }
2051
- }
2052
- &:checked + label {
2053
- &:after {
2054
- top: 7px;
2055
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2056
- }
2252
+ &.is-outlined {
2253
+ &:hover,
2254
+ &.hover {
2255
+ .wac-button__wrapper, .wac-button__animation {
2256
+ color: $wac-white;
2257
+ transition: color 0.3s ease-in-out;
2057
2258
  }
2058
2259
  }
2059
2260
  }
2060
2261
 
2061
- .is-checkradio[type='checkbox'] {
2062
- outline: 0 !important;
2262
+ &__loader {
2263
+ position: absolute;
2264
+ left: -1px;
2063
2265
  top: 0;
2064
- & + label {
2065
- font-size: rem(14);
2066
- line-height: 0;
2067
- color: $wac-input-radio-color-label;
2266
+ height: 100%;
2267
+ z-index: 1;
2268
+ transition: width 0.3s ease-in-out;
2269
+ overflow: hidden;
2270
+
2271
+ span {
2272
+ position: absolute;
2273
+ left: 20px;
2274
+ top: 7px;
2275
+ color: $wac-white;
2276
+ overflow: hidden;
2277
+ text-overflow: clip;
2278
+ font-size: 14px;
2279
+ line-height: 26px;
2068
2280
  white-space: nowrap;
2069
- padding: 0 8px;
2070
- margin-right: 0;
2071
- outline: 0 !important;
2072
- &:before {
2073
- width: 16px;
2074
- height: 16px;
2075
- border: 1px solid $wac-border-color;
2076
- top: 0;
2077
- transition: all 0.3s ease-in-out;
2078
- }
2079
- &:after {
2080
- top: 2.3px !important;
2081
- left: 3px !important;
2082
- width: 10px;
2083
- height: 12px;
2084
- border: none !important;
2085
- background: transparent
2086
- 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")
2087
- center center / 8px 8px no-repeat;
2088
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2089
- transition: all 0.3s ease-in-out;
2090
- }
2091
- span {
2092
- margin: 0 0 0 rem(16);
2093
- display: inline-block;
2094
- }
2095
- &:hover,
2096
- &:focus {
2097
- &:before {
2098
- border-color: $wac-input-active-color !important;
2099
- }
2100
- }
2101
- &:before,
2102
- &:after {
2103
- outline: 0 !important;
2281
+ z-index: 3;
2282
+
2283
+ i {
2284
+ margin-right: 1.4px;
2104
2285
  }
2105
2286
  }
2106
- &:hover {
2107
- & + label {
2108
- color: $wac-input-radio-color-active-label;
2109
- &:before {
2110
- border-color: $wac-input-active-color !important;
2111
- }
2112
- &:after {
2113
- border-color: $wac-white !important;
2114
- }
2287
+
2288
+ &.outlined {
2289
+ z-index: 4;
2290
+ }
2291
+ }
2292
+
2293
+ &.alone {
2294
+ .wac-button__loader span {
2295
+ left: 14.6px;
2296
+ }
2297
+ }
2298
+
2299
+ &.opacity {
2300
+ min-width: rem(40);
2301
+ min-height: rem(40);
2302
+
2303
+ &.alone {
2304
+ display: flex;
2305
+ align-items: center;
2306
+ justify-content: center;
2307
+ }
2308
+
2309
+ &.is-success {
2310
+ i {
2311
+ color: $wac-green-color!important;
2115
2312
  }
2116
- &:not([disabled]) {
2117
- & + label {
2118
- &:before {
2119
- border-color: $wac-input-active-color !important;
2120
- }
2313
+ &:hover, &:focus {
2314
+ i {
2315
+ color: $wac-white!important;
2121
2316
  }
2122
2317
  }
2123
2318
  }
2124
- &:checked + label {
2125
- color: $wac-input-radio-color-active-label;
2126
- &:before {
2127
- border: 1px solid $wac-input-active-color;
2128
- background-color: $wac-input-active-color;
2129
- transition: all 0.3s ease-in-out;
2319
+
2320
+ &.is-danger {
2321
+ i {
2322
+ color: $wac-primary-button!important;
2130
2323
  }
2131
- &:after {
2132
- left: 7px;
2133
- top: 8px;
2134
- transition: all 0.3s ease-in-out;
2324
+ &:hover, &:focus {
2325
+ i {
2326
+ color: $wac-white!important;
2327
+ }
2135
2328
  }
2136
2329
  }
2137
2330
  }
2138
-
2139
2331
  }
2140
2332
  .wac-delete {
2141
2333
  width: 40px;
@@ -5021,6 +5213,22 @@ a.wac-link {
5021
5213
  .icon.is-small.is-right {
5022
5214
  margin-top: rem(5);
5023
5215
  }
5216
+
5217
+ &.dynamic {
5218
+ label {
5219
+ font-size: rem(16);
5220
+ margin: 0 0 8px;
5221
+ }
5222
+ .textarea {
5223
+ height: 71px;
5224
+ min-height: 71px;
5225
+ max-height: unset;
5226
+ resize: none;
5227
+ padding: 15px 20px;
5228
+ font-size: rem(14);
5229
+ line-height: 1.4;
5230
+ }
5231
+ }
5024
5232
  }
5025
5233
  span.wac-tooltip {
5026
5234
  position: relative;
@@ -5167,10 +5375,68 @@ span.wac-tooltip {
5167
5375
  }
5168
5376
  }
5169
5377
  }
5378
+ .wac-wrapper-sidebar {
5379
+ width: 100%;
5380
+ display: flex;
5381
+
5382
+ @include media('<desktop') {
5383
+ flex-direction: column;
5384
+ justify-content: flex-start;
5385
+ align-items: flex-start;
5386
+ }
5387
+
5388
+ &.reverse {
5389
+ flex-direction: row-reverse;
5390
+
5391
+ @include media('<desktop') {
5392
+ flex-direction: column-reverse;
5393
+
5394
+ > div {
5395
+ &:nth-child(1) {
5396
+ @include media('<desktop') {
5397
+ margin: 20px 0 0;
5398
+ }
5399
+ }
5400
+ }
5401
+ }
5402
+ }
5403
+
5404
+ > div {
5405
+ width: 100%;
5406
+ padding: 30px;
5407
+
5408
+ @include media('<tablet') {
5409
+ padding: 20px;
5410
+ }
5411
+
5412
+ &:nth-child(1) {
5413
+ background-color: $wac-white;
5414
+
5415
+ @include media('<desktop') {
5416
+ margin: 0 0 20px;
5417
+ }
5418
+
5419
+ @include media('>=desktop') {
5420
+ width: 33%;
5421
+ min-width: 33%;
5422
+ }
5423
+ }
5424
+
5425
+ &:nth-child(2) {
5426
+ background-color: $wac-grey;
5427
+
5428
+ @include media('>=desktop') {
5429
+ width: 67%;
5430
+ min-width: 67%;
5431
+ padding: 80px 30px;
5432
+ }
5433
+ }
5434
+ }
5435
+ }
5170
5436
  h1.wac-h1 {
5171
5437
  font-size: rem(30);
5172
5438
  line-height: rem(35);
5173
- font-weight: 600;
5439
+ font-weight: 500;
5174
5440
  color: $wac-main-text;
5175
5441
  @include media('<desktop') {
5176
5442
  font-size: rem(22);
@@ -5180,6 +5446,14 @@ h1.wac-h1 {
5180
5446
  display: flex;
5181
5447
  align-items: center;
5182
5448
  }
5449
+
5450
+ small {
5451
+ font-size: rem(18);
5452
+ display: inline-block;
5453
+ margin-left: rem(5);
5454
+ font-style: italic;
5455
+ font-weight: normal;
5456
+ }
5183
5457
  }
5184
5458
  h2.wac-h2 {
5185
5459
  font-size: rem(18);