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