@wizishop/angular-components 14.4.48 → 14.4.49

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