@wizishop/angular-components 14.4.46 → 14.4.48

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,1850 +750,1850 @@ wac-block {
750
750
  }
751
751
  }
752
752
  }
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
- }
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;
796
757
  }
797
758
  }
759
+ }
798
760
 
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;
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;
816
772
  }
817
773
  }
818
-
819
- .wac-button__tooltips {
820
- background-color: $wac-wizishop-blue-button!important;
821
- color: $white!important;
822
- }
823
774
  }
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;
775
+ &--edit {
831
776
  display: flex;
832
- justify-content: center;
777
+ justify-content: flex-start;
833
778
  align-items: center;
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;
779
+ align-content: center;
780
+ & > * {
781
+ display: inline-block;
782
+ &:nth-child(2) {
783
+ margin: 0 10px;
845
784
  }
846
785
  }
847
786
  }
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;
787
+ &--no-margin {
788
+ margin: 0;
789
+ .wac-calendar__autoHide {
790
+ margin: 0;
863
791
  }
864
792
  }
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;
793
+ &--onlyDate {
794
+ .wac-calendar__wrapper__input__time, .wac-calendar__wrapper__input__date:after {
795
+ display: none;
881
796
  }
882
- > span {
883
- font-size: rem(14);
884
- line-height: 1;
885
- color: #E0B146;
886
- font-weight: 600;
887
- letter-spacing: 0;
797
+ .wac-calendar__wrapper__input {
798
+ max-width: 160px;
799
+ min-width: 160px;
888
800
  }
889
801
  }
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;
890
808
 
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
- }
907
- }
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;
922
- }
923
- .is-danger & {
924
- background-color: $wac-primary-button;
925
- }
809
+ &.bold {
810
+ font-weight: 500;
926
811
  }
927
812
  }
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%);
959
- }
960
- }
961
- .is-danger & {
962
- background-color: $wac-primary-button;
963
- &:hover, &:focus {
964
- background-color: darken($wac-primary-button, 15%);
965
- }
966
- }
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
- }
813
+ &__autoHide {
814
+ max-width: 300px;
815
+ position: relative;
982
816
  }
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;
994
- }
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;
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
+ }
1032
842
  }
1033
- }
1034
-
1035
- &.left {
1036
- &:before {
1037
- border-color: transparent transparent transparent $wac-main-text-lighten;
843
+ i {
844
+ color: $wac-second-color;
845
+ font-size: rem(18);
846
+ transition: color 300ms ease;
1038
847
  }
1039
848
  }
1040
-
1041
- &.top-center {
1042
- &:before {
1043
- border-color: $wac-main-text-lighten transparent transparent transparent;
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%);
1044
868
  }
1045
869
  }
1046
-
1047
- &.top-right {
1048
- &:before {
1049
- border-color: $wac-main-text-lighten transparent transparent transparent;
1050
- }
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;
1051
878
  }
1052
-
1053
- &.top-left {
1054
- &:before {
1055
- border-color: $wac-main-text-lighten transparent transparent transparent;
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;
1056
887
  }
1057
- }
1058
-
1059
- &.bottom-center {
1060
- &:before {
1061
- border-color: transparent transparent $wac-main-text-lighten transparent;
888
+ &:hover,
889
+ &:focus {
890
+ i {
891
+ color: darken($wac-primary-button, 15%);
892
+ }
1062
893
  }
1063
894
  }
1064
-
1065
- &.bottom-right {
1066
- &:before {
1067
- border-color: transparent transparent $wac-main-text-lighten transparent;
1068
- }
895
+ }
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;
1069
912
  }
1070
-
1071
- &.bottom-left {
1072
- &:before {
1073
- border-color: transparent transparent $wac-main-text-lighten transparent;
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;
1074
924
  }
1075
925
  }
1076
- }
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;
1083
- }
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;
1090
- }
1091
-
1092
- &.is-outlined {
1093
- background-color: transparent;
1094
- border-color: $wac-main-text;
1095
-
1096
- .wac-button__loader {
1097
- background-color: $wac-main-text;
1098
- }
1099
-
1100
- .wac-button__wrapper, .wac-button__animation {
1101
- color: $wac-main-text;
1102
- transition: color 0.3s ease-in-out;
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;
1103
933
  }
1104
-
1105
934
  &: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;
1112
- }
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;
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
+ }
1123
949
  }
1124
950
  }
1125
951
  }
1126
- }
1127
-
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;
1132
-
1133
- .wac-button__loader {
1134
- background-color: $wac-wizishop-blue-button-darken;
1135
- }
1136
-
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
- }
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
- }
1150
-
1151
- &.opacity {
1152
- background-color: $wac-wizishop-blue-button-light;
1153
- border-color: transparent!important;
1154
-
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;
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
+ }
1166
978
  }
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
979
  i {
1175
- color: $white;
980
+ font-size: rem(18);
981
+ font-weight: 400;
982
+ color: $wac-second-color;
983
+ transition: color 300ms ease;
1176
984
  }
1177
985
  }
1178
- }
1179
-
1180
- &.is-outlined {
1181
- background-color: transparent;
1182
- border-color: $wac-wizishop-blue-button;
1183
-
1184
- .wac-button__loader {
1185
- background-color: $wac-wizishop-blue-button-darken;
1186
- }
1187
-
1188
- .wac-button__wrapper, .wac-button__animation {
1189
- color: $wac-wizishop-blue-button;
1190
- transition: color 0.3s ease-in-out;
1191
- }
1192
-
1193
- &:hover,
1194
- &.hover {
1195
- background-color: $wac-wizishop-blue-button;
1196
- border-color: $wac-wizishop-blue-button;
1197
- }
1198
-
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
- }
1206
-
1207
- &.is-loading {
1208
- &:hover,
1209
- &.hover {
1210
- background-color: $wac-wizishop-blue-button;
1211
- transition: background-color 0.3s ease-in-out;
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;
995
+ }
1212
996
  }
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;
997
+ &__close {
998
+ width: 10px;
999
+ cursor: pointer;
1000
+ i {
1001
+ font-size: 14px;
1002
+ transition: color 300ms ease;
1003
+ color: $wac-primary-button;
1004
+ }
1005
+ &:hover,
1006
+ &:focus {
1007
+ i {
1008
+ color: darken($wac-primary-button, 15%);
1009
+ }
1010
+ }
1218
1011
  }
1219
1012
  }
1220
1013
  }
1221
-
1222
- &.is-orange {
1223
- background-color: $wac-orange-color;
1224
- border-color: $wac-orange-color;
1225
- transition: background-color 0.3s ease-in-out;
1226
-
1227
- .wac-button__loader {
1228
- background-color: $wac-orange-color-darken;
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);
1229
1030
  }
1230
-
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;
1031
+ &.top {
1032
+ top: auto;
1033
+ bottom: 100%;
1034
+ transform: translateX(-50%) translateY(-10px);
1236
1035
  }
1237
-
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;
1036
+ &.left {
1037
+ transform: translateY(-50%) translateX(-10px);
1038
+ left: auto;
1039
+ right: 100%;
1040
+ top: 50%;
1243
1041
  }
1244
-
1245
- &.is-outlined {
1246
- background-color: transparent;
1247
- border-color: $wac-orange-color;
1248
-
1249
- .wac-button__loader {
1250
- background-color: $wac-orange-color-darken;
1251
- }
1252
-
1253
- .wac-button__wrapper, .wac-button__animation {
1254
- color: $wac-orange-color;
1255
- transition: color 0.3s ease-in-out;
1256
- }
1257
-
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;
1269
- }
1042
+ &.right {
1043
+ transform: translateY(-50%) translateX(10px);
1044
+ left: 100%;
1045
+ top: 50%;
1270
1046
  }
1271
-
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
- }
1047
+ &.left-top {
1048
+ left: auto;
1049
+ right: 100%;
1050
+ top: auto;
1051
+ bottom: 0;
1052
+ transform: translateY(-10px) translateX(-10px);
1284
1053
  }
1285
- }
1286
-
1287
- &.is-pink {
1288
- background-color: $wac-pink-color;
1289
- border-color: $wac-pink-color;
1290
- transition: background-color 0.3s ease-in-out;
1291
-
1292
- .wac-button__loader {
1293
- background-color: $wac-pink-color-darken;
1054
+ &.left-bottom {
1055
+ left: auto;
1056
+ right: 100%;
1057
+ top: 0;
1058
+ transform: translateY(10px) translateX(-10px);
1294
1059
  }
1295
-
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;
1060
+ &.right-top {
1061
+ left: 100%;
1062
+ top: auto;
1063
+ bottom: 0;
1064
+ transform: translateY(-10px) translateX(10px);
1301
1065
  }
1302
-
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;
1066
+ &.right-bottom {
1067
+ left: 100%;
1068
+ top: 0;
1069
+ transform: translateY(10px) translateX(10px);
1308
1070
  }
1309
-
1310
- &.is-outlined {
1311
- background-color: transparent;
1312
- border-color: $wac-pink-color;
1313
-
1314
- .wac-button__loader {
1315
- background-color: $wac-pink-color-darken;
1316
- }
1317
-
1318
- .wac-button__wrapper, .wac-button__animation {
1319
- color: $wac-pink-color;
1320
- transition: color 0.3s ease-in-out;
1321
- }
1322
-
1323
- &:hover,
1324
- &.hover {
1325
- background-color: $wac-pink-color;
1326
- border-color: $wac-pink-color;
1327
- }
1328
-
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
- }
1335
- }
1336
-
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;
1348
- }
1349
- }
1350
- }
1351
-
1352
- &.is-grey {
1353
- background-color: $wac-background-color;
1354
- border-color: $wac-background-color;
1355
- transition: background-color 0.3s ease-in-out;
1356
-
1357
- .wac-button__loader {
1358
- background-color: $wac-background-color-darken;
1071
+ & > * > * {
1072
+ width: 265px;
1359
1073
  }
1360
-
1361
- .wac-button__tooltips {
1362
- background-color: $wac-background-color-darken!important;
1363
- color: $wac-main-text!important;
1364
-
1365
- &.right {
1366
- &:before {
1367
- border-color: transparent $wac-background-color-darken transparent transparent;
1368
- }
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;
1369
1089
  }
1370
-
1371
- &.left {
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;
1372
1098
  &:before {
1373
- border-color: transparent transparent transparent $wac-background-color-darken;
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;
1374
1110
  }
1375
- }
1376
-
1377
- &.top-center {
1378
- &:before {
1379
- border-color: $wac-background-color-darken transparent transparent transparent;
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;
1380
1123
  }
1381
- }
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
+ }
1382
1169
 
1383
- &.top-right {
1384
- &:before {
1385
- border-color: $wac-background-color-darken transparent transparent transparent;
1386
- }
1387
- }
1170
+ input::-webkit-outer-spin-button,
1171
+ input::-webkit-inner-spin-button {
1172
+ -webkit-appearance: none;
1173
+ margin: 0;
1174
+ }
1388
1175
 
1389
- &.top-left {
1390
- &:before {
1391
- border-color: $wac-background-color-darken transparent transparent transparent;
1392
- }
1393
- }
1176
+ /* Firefox */
1177
+ input[type='number'] {
1178
+ -moz-appearance: textfield;
1179
+ }
1394
1180
 
1395
- &.bottom-center {
1396
- &:before {
1397
- border-color: transparent transparent $wac-background-color-darken transparent;
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
+ }
1398
1191
  }
1399
- }
1400
-
1401
- &.bottom-right {
1402
- &:before {
1403
- border-color: transparent transparent $wac-background-color-darken transparent;
1192
+ &__hours {
1193
+ margin: 0 10px 0 0;
1404
1194
  }
1405
- }
1406
-
1407
- &.bottom-left {
1408
- &:before {
1409
- border-color: transparent transparent $wac-background-color-darken transparent;
1195
+ &__minutes {
1196
+ margin: 0 0 0 10px;
1410
1197
  }
1411
1198
  }
1412
1199
  }
1200
+ }
1201
+ }
1413
1202
 
1414
- .wac-button__wrapper, .wac-button__animation {
1415
- color: $wac-second-color;
1416
- transition: color 0.3s ease-in-out;
1417
- }
1418
-
1419
- &:hover,
1420
- &.hover {
1421
- background-color: $wac-background-color-darken;
1422
- border-color: $wac-background-color-darken;
1423
- transition: background-color 0.3s ease-in-out;
1424
- }
1203
+ .datetimepicker-dummy .datetimepicker-clear-button {
1204
+ top: -3px !important;
1205
+ }
1425
1206
 
1426
- &:focus,
1427
- &.focus {
1428
- background-color: $wac-background-color-focus;
1429
- border-color: $wac-background-color-focus;
1430
- transition: background-color 0.3s ease-in-out;
1431
- }
1207
+ .datetimepicker-dummy .datetimepicker-dummy-wrapper {
1208
+ border: 1px solid $wac-border-color;
1209
+ border-radius: rem(3);
1432
1210
 
1433
- &.is-outlined {
1434
- background-color: transparent;
1435
- border-color: $wac-border-light;
1211
+ &:hover,
1212
+ &:focus {
1213
+ border: 1px solid $wac-wizishop-blue;
1214
+ }
1215
+ }
1436
1216
 
1437
- .wac-button__loader {
1438
- background-color: $wac-background-color-darken;
1439
- }
1440
1217
 
1441
- .wac-button__wrapper, .wac-button__animation {
1442
- color: $wac-second-color !important;
1443
- transition: color 0.3s ease-in-out;
1444
- }
1218
+ .datetimepicker {
1219
+ box-shadow: none !important;
1220
+ &-wrapper {
1221
+ border: none !important;
1222
+ box-shadow: none;
1223
+ background: $wac-white;
1224
+ }
1225
+ }
1445
1226
 
1446
- &:hover,
1447
- &.hover {
1448
- background-color: $wac-background-color;
1449
- border-color: $wac-background-color;
1450
- }
1451
-
1452
- &:focus,
1453
- &.focus {
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;
1464
- transition: background-color 0.3s ease-in-out;
1465
- }
1227
+ .datepicker {
1228
+ .datepicker {
1229
+ &-nav {
1230
+ background: $wac-white !important;
1231
+ color: $wac-main-text !important;
1232
+ padding: 15px !important;
1466
1233
  }
1467
1234
  }
1235
+ }
1468
1236
 
1469
- &.is-danger {
1470
- background-color: $wac-primary-button;
1471
- border-color: $wac-primary-button;
1472
- transition: background-color 0.3s ease-in-out;
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
+ }
1473
1246
 
1474
- .wac-button__loader {
1475
- background-color: $wac-primary-button-darken;
1476
- }
1247
+ .datepicker-nav-year {
1248
+ font-weight: 500 !important;
1249
+ }
1477
1250
 
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
- }
1485
- }
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
+ }
1486
1267
 
1487
- &.left {
1488
- &:before {
1489
- border-color: transparent transparent transparent $wac-primary-button-darken;
1490
- }
1491
- }
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
+ }
1492
1278
 
1493
- &.top-center {
1494
- &:before {
1495
- border-color: $wac-primary-button-darken transparent transparent transparent;
1496
- }
1497
- }
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
+ }
1498
1289
 
1499
- &.top-right {
1500
- &:before {
1501
- border-color: $wac-primary-button-darken transparent transparent transparent;
1502
- }
1503
- }
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;
1303
+ }
1304
+ }
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
+ }
1504
1315
 
1505
- &.top-left {
1506
- &:before {
1507
- border-color: $wac-primary-button-darken transparent transparent transparent;
1508
- }
1509
- }
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;
1510
1330
 
1511
- &.bottom-center {
1512
- &:before {
1513
- border-color: transparent transparent $wac-primary-button-darken transparent;
1514
- }
1515
- }
1331
+ * {
1332
+ box-sizing: border-box;
1333
+ }
1516
1334
 
1517
- &.bottom-right {
1518
- &:before {
1519
- border-color: transparent transparent $wac-primary-button-darken transparent;
1520
- }
1521
- }
1335
+ &.width-auto {
1336
+ display: inline-block;
1337
+ width: auto;
1338
+ margin: 0 auto;
1339
+ }
1522
1340
 
1523
- &.bottom-left {
1524
- &:before {
1525
- border-color: transparent transparent $wac-primary-button-darken transparent;
1526
- }
1527
- }
1528
- }
1341
+ &.white-space-no-wrap {
1342
+ white-space: nowrap;
1343
+ }
1529
1344
 
1530
- &:hover,
1531
- &.hover {
1532
- background-color: $wac-primary-button-darken;
1533
- border-color: $wac-primary-button-darken;
1534
- transition: background-color 0.3s ease-in-out;
1535
- }
1345
+ &.no-padding {
1346
+ padding-left: 0!important;
1347
+ padding-right: 0!important;
1348
+ }
1536
1349
 
1537
- &:focus,
1538
- &.focus {
1539
- background-color: $wac-primary-button-focus;
1540
- border-color: $wac-primary-button-focus;
1541
- transition: background-color 0.3s ease-in-out;
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;
1542
1356
  }
1543
-
1544
- &.is-outlined {
1545
- background-color: transparent;
1546
- border-color: $wac-primary-button;
1547
-
1548
- .wac-button__wrapper, .wac-button__animation {
1549
- color: $wac-primary-button;
1550
- transition: color 0.3s ease-in-out;
1357
+ &:hover, &:focus {
1358
+ background-color: $wac-tag-success;
1359
+ i {
1360
+ color: $wac-white;
1551
1361
  }
1362
+ }
1363
+ }
1552
1364
 
1553
- &:hover,
1554
- &.hover {
1555
- background-color: $wac-primary-button;
1556
- border-color: $wac-primary-button;
1557
- }
1365
+ &.static-width {
1366
+ width: 40px;
1367
+ min-width: 40px;
1368
+ max-width: 40px;
1369
+ }
1558
1370
 
1559
- &:focus,
1560
- &.focus {
1561
- background-color: $wac-primary-button-focus;
1562
- border-color: $wac-primary-button-focus;
1563
- transition: background-color 0.3s ease-in-out;
1564
- }
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;
1565
1377
  }
1566
-
1567
- &.is-loading {
1568
- &:hover,
1569
- &.hover {
1570
- background-color: $wac-primary-button;
1571
- transition: background-color 0.3s ease-in-out;
1378
+ &:hover, &:focus {
1379
+ background-color: $wac-wizishop-blue-button;
1380
+ i {
1381
+ color: $wac-white;
1572
1382
  }
1573
1383
  }
1574
1384
 
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
- }
1385
+ .wac-button__tooltips {
1386
+ background-color: $wac-wizishop-blue-button!important;
1387
+ color: $white!important;
1582
1388
  }
1583
1389
  }
1584
1390
 
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
- }
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;
1593
1408
  }
1594
-
1595
- &.left {
1596
- &:before {
1597
- border-color: transparent transparent transparent $wac-green-color-darken;
1598
- }
1409
+ .wac-button__animation {
1410
+ transition: .3s ease!important;
1599
1411
  }
1412
+ }
1413
+ }
1600
1414
 
1601
- &.top-center {
1602
- &:before {
1603
- border-color: $wac-green-color-darken transparent transparent transparent;
1604
- }
1605
- }
1415
+ &.small {
1416
+ padding: rem(4) rem(15);
1417
+ }
1606
1418
 
1607
- &.top-right {
1608
- &:before {
1609
- border-color: $wac-green-color-darken transparent transparent transparent;
1610
- }
1611
- }
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;
1612
1426
 
1613
- &.top-left {
1614
- &:before {
1615
- border-color: $wac-green-color-darken transparent transparent transparent;
1616
- }
1427
+ i {
1428
+ margin-right: 1.4px;
1429
+ }
1430
+ }
1431
+
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;
1454
+ }
1455
+ }
1456
+
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;
1617
1491
  }
1492
+ }
1493
+ }
1618
1494
 
1619
- &.bottom-center {
1620
- &:before {
1621
- border-color: transparent transparent $wac-green-color-darken transparent;
1622
- }
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
+
1520
+
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%);
1623
1531
  }
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
+ }
1624
1549
 
1625
- &.bottom-right {
1626
- &:before {
1627
- border-color: transparent transparent $wac-green-color-darken transparent;
1628
- }
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;
1629
1560
  }
1561
+ }
1562
+ }
1630
1563
 
1631
- &.bottom-left {
1632
- &:before {
1633
- border-color: transparent transparent $wac-green-color-darken transparent;
1634
- }
1564
+ &.alone {
1565
+ padding: 7px 14.6px;
1566
+
1567
+ .wac-button__wrapper i {
1568
+ margin-right: 0;
1569
+ }
1570
+ }
1571
+
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;
1635
1578
  }
1636
1579
  }
1637
1580
  }
1638
1581
 
1639
- &.is-success {
1640
- background-color: $wac-green-color;
1641
- border-color: $wac-green-color;
1582
+ &.is-dark {
1583
+ background-color: $wac-main-text;
1584
+ border-color: $wac-main-text;
1642
1585
  transition: background-color 0.3s ease-in-out;
1643
1586
 
1644
1587
  .wac-button__loader {
1645
- background-color: $wac-green-color-darken;
1588
+ background-color: $wac-main-text;
1646
1589
  }
1647
1590
 
1648
1591
  .wac-button__tooltips {
1649
- background-color: $wac-green-color-darken!important;
1592
+ background-color: $wac-main-text-lighten!important;
1650
1593
  color: $wac-white!important;
1594
+
1651
1595
  &.right {
1652
1596
  &:before {
1653
- border-color: transparent $wac-green-color-darken transparent transparent;
1597
+ border-color: transparent $wac-main-text-lighten transparent transparent;
1654
1598
  }
1655
1599
  }
1656
1600
 
1657
1601
  &.left {
1658
1602
  &:before {
1659
- border-color: transparent transparent transparent $wac-green-color-darken;
1603
+ border-color: transparent transparent transparent $wac-main-text-lighten;
1660
1604
  }
1661
1605
  }
1662
1606
 
1663
1607
  &.top-center {
1664
1608
  &:before {
1665
- border-color: $wac-green-color-darken transparent transparent transparent;
1609
+ border-color: $wac-main-text-lighten transparent transparent transparent;
1666
1610
  }
1667
1611
  }
1668
1612
 
1669
1613
  &.top-right {
1670
1614
  &:before {
1671
- border-color: $wac-green-color-darken transparent transparent transparent;
1615
+ border-color: $wac-main-text-lighten transparent transparent transparent;
1672
1616
  }
1673
1617
  }
1674
1618
 
1675
1619
  &.top-left {
1676
1620
  &:before {
1677
- border-color: $wac-green-color-darken transparent transparent transparent;
1621
+ border-color: $wac-main-text-lighten transparent transparent transparent;
1678
1622
  }
1679
1623
  }
1680
1624
 
1681
1625
  &.bottom-center {
1682
1626
  &:before {
1683
- border-color: transparent transparent $wac-green-color-darken transparent;
1627
+ border-color: transparent transparent $wac-main-text-lighten transparent;
1684
1628
  }
1685
1629
  }
1686
1630
 
1687
1631
  &.bottom-right {
1688
1632
  &:before {
1689
- border-color: transparent transparent $wac-green-color-darken transparent;
1633
+ border-color: transparent transparent $wac-main-text-lighten transparent;
1690
1634
  }
1691
1635
  }
1692
1636
 
1693
1637
  &.bottom-left {
1694
1638
  &:before {
1695
- border-color: transparent transparent $wac-green-color-darken transparent;
1639
+ border-color: transparent transparent $wac-main-text-lighten transparent;
1696
1640
  }
1697
1641
  }
1698
1642
  }
1699
1643
 
1700
1644
  &:hover,
1701
1645
  &.hover {
1702
- background-color: $wac-green-color-darken;
1703
- border-color: $wac-green-color-darken;
1646
+ background-color: $wac-main-text-lighten;
1647
+ border-color: $wac-main-text-lighten;
1704
1648
  transition: background-color 0.3s ease-in-out;
1705
1649
  }
1706
1650
 
1707
1651
  &:focus,
1708
1652
  &.focus {
1709
- background-color: $wac-green-color-focus;
1710
- border-color: $wac-green-color-focus;
1653
+ background-color: $wac-main-text-lighten;
1654
+ border-color: $wac-main-text-lighten;
1711
1655
  transition: background-color 0.3s ease-in-out;
1712
1656
  }
1713
1657
 
1714
1658
  &.is-outlined {
1715
1659
  background-color: transparent;
1716
- border-color: $wac-green-color;
1660
+ border-color: $wac-main-text;
1661
+
1662
+ .wac-button__loader {
1663
+ background-color: $wac-main-text;
1664
+ }
1717
1665
 
1718
1666
  .wac-button__wrapper, .wac-button__animation {
1719
- color: $wac-green-color;
1667
+ color: $wac-main-text;
1720
1668
  transition: color 0.3s ease-in-out;
1721
1669
  }
1722
1670
 
1723
1671
  &:hover,
1724
1672
  &.hover {
1725
- background-color: $wac-green-color;
1726
- border-color: $wac-green-color;
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
+ }
1727
1679
  }
1728
1680
 
1729
1681
  &:focus,
1730
1682
  &.focus {
1731
- background-color: $wac-green-color-focus;
1732
- border-color: $wac-green-color-focus;
1733
- transition: background-color 0.3s ease-in-out;
1734
- }
1735
- }
1736
-
1737
- &.is-loading {
1738
- &:hover,
1739
- &.hover {
1740
- background-color: $wac-green-color;
1683
+ background-color: $wac-main-text;
1684
+ border-color: $wac-main-text;
1741
1685
  transition: background-color 0.3s ease-in-out;
1742
- }
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;
1686
+ .wac-button__wrapper, .wac-button__animation {
1687
+ color: $wac-white;
1688
+ transition: color 0.3s ease-in-out;
1689
+ }
1750
1690
  }
1751
1691
  }
1752
1692
  }
1753
1693
 
1754
- &.is-light {
1755
- background-color: transparent;
1756
- border-color: $wac-border-color;
1694
+ &.is-info {
1695
+ background-color: $wac-wizishop-blue-button;
1696
+ border-color: $wac-wizishop-blue-button;
1757
1697
  transition: background-color 0.3s ease-in-out;
1758
1698
 
1759
1699
  .wac-button__loader {
1760
- background-color: $wac-hover-btn-grey;
1761
- }
1762
-
1763
- .wac-button__wrapper, .wac-button__animation {
1764
- color: $wac-secondary-color;
1700
+ background-color: $wac-wizishop-blue-button-darken;
1765
1701
  }
1766
1702
 
1767
1703
  &:hover,
1768
1704
  &.hover {
1769
- background-color: $wac-hover-btn-grey;
1705
+ background-color: $wac-wizishop-blue-button-darken;
1706
+ border-color: $wac-wizishop-blue-button-darken;
1770
1707
  transition: background-color 0.3s ease-in-out;
1771
1708
  }
1772
1709
 
1773
- &.is-loading {
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;
1715
+ }
1716
+
1717
+ &.opacity {
1718
+ background-color: $wac-wizishop-blue-button-light;
1719
+ border-color: transparent!important;
1720
+
1721
+ i {
1722
+ color: $wac-wizishop-blue-button;
1723
+ }
1724
+
1774
1725
  &:hover,
1775
1726
  &.hover {
1776
- background-color: transparent;
1727
+ background-color: $wac-wizishop-blue-button;
1728
+ border-color: $wac-wizishop-blue-button;
1777
1729
  transition: background-color 0.3s ease-in-out;
1730
+ i {
1731
+ color: $white;
1732
+ }
1733
+ }
1734
+
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;
1742
+ }
1778
1743
  }
1779
1744
  }
1780
- }
1781
1745
 
1782
- &.disabled {
1783
- opacity: .7!important;
1784
- }
1746
+ &.is-outlined {
1747
+ background-color: transparent;
1748
+ border-color: $wac-wizishop-blue-button;
1749
+
1750
+ .wac-button__loader {
1751
+ background-color: $wac-wizishop-blue-button-darken;
1752
+ }
1785
1753
 
1786
- &.is-outlined {
1787
- &:hover,
1788
- &.hover {
1789
1754
  .wac-button__wrapper, .wac-button__animation {
1790
- color: $wac-white;
1755
+ color: $wac-wizishop-blue-button;
1791
1756
  transition: color 0.3s ease-in-out;
1792
1757
  }
1793
- }
1794
- }
1795
-
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;
1804
1758
 
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;
1759
+ &:hover,
1760
+ &.hover {
1761
+ background-color: $wac-wizishop-blue-button;
1762
+ border-color: $wac-wizishop-blue-button;
1763
+ }
1816
1764
 
1817
- i {
1818
- margin-right: 1.4px;
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;
1819
1770
  }
1820
1771
  }
1821
1772
 
1822
- &.outlined {
1823
- z-index: 4;
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;
1784
+ }
1824
1785
  }
1825
1786
  }
1826
1787
 
1827
- &.alone {
1828
- max-width: 40px!important;
1829
- .wac-button__loader span {
1830
- left: 14.6px;
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;
1831
1795
  }
1832
- }
1833
1796
 
1834
- &.opacity {
1835
- min-width: rem(40);
1836
- min-height: rem(40);
1837
- border-color: transparent!important;
1797
+ &:hover,
1798
+ &.hover {
1799
+ background-color: $wac-orange-color-darken;
1800
+ border-color: $wac-orange-color-darken;
1801
+ transition: background-color 0.3s ease-in-out;
1802
+ }
1838
1803
 
1839
- &.alone {
1840
- display: flex;
1841
- align-items: center;
1842
- justify-content: center;
1804
+ &:focus,
1805
+ &.focus {
1806
+ background-color: $wac-orange-color-focus;
1807
+ border-color: $wac-orange-color-focus;
1808
+ transition: background-color 0.3s ease-in-out;
1843
1809
  }
1844
1810
 
1845
- &.is-success {
1846
- i {
1847
- color: $wac-green-color!important;
1811
+ &.is-outlined {
1812
+ background-color: transparent;
1813
+ border-color: $wac-orange-color;
1814
+
1815
+ .wac-button__loader {
1816
+ background-color: $wac-orange-color-darken;
1848
1817
  }
1849
- &:hover, &:focus {
1850
- i {
1851
- color: $wac-white!important;
1852
- }
1818
+
1819
+ .wac-button__wrapper, .wac-button__animation {
1820
+ color: $wac-orange-color;
1821
+ transition: color 0.3s ease-in-out;
1822
+ }
1823
+
1824
+ &:hover,
1825
+ &.hover {
1826
+ background-color: $wac-orange-color;
1827
+ border-color: $wac-orange-color;
1828
+ }
1829
+
1830
+ &:focus,
1831
+ &.focus {
1832
+ background-color: $wac-orange-color-focus;
1833
+ border-color: $wac-orange-color-focus;
1834
+ transition: background-color 0.3s ease-in-out;
1853
1835
  }
1854
1836
  }
1855
1837
 
1856
- &.is-danger {
1857
- i {
1858
- color: $wac-primary-button!important;
1838
+ &.is-loading {
1839
+ &:hover,
1840
+ &.hover {
1841
+ background-color: $wac-orange-color;
1842
+ transition: background-color 0.3s ease-in-out;
1859
1843
  }
1860
- &:hover, &:focus {
1861
- i {
1862
- color: $wac-white!important;
1863
- }
1844
+ &:focus,
1845
+ &.focus {
1846
+ background-color: $wac-orange-color-focus;
1847
+ border-color: $wac-orange-color-focus;
1848
+ transition: background-color 0.3s ease-in-out;
1864
1849
  }
1865
1850
  }
1866
1851
  }
1867
1852
 
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;
1853
+ &.is-pink {
1854
+ background-color: $wac-pink-color;
1855
+ border-color: $wac-pink-color;
1856
+ transition: background-color 0.3s ease-in-out;
1880
1857
 
1881
- &.oneline {
1882
- width: auto!important;
1883
- white-space: nowrap;
1884
- min-width: unset!important;
1858
+ .wac-button__loader {
1859
+ background-color: $wac-pink-color-darken;
1885
1860
  }
1886
1861
 
1887
- @include media('>=tablet') {
1888
- min-width: 600px;
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;
1889
1867
  }
1890
1868
 
1891
- @include media('<tablet') {
1892
- min-width: 100% !important;
1893
- max-width: 100% !important;
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;
1894
1874
  }
1895
1875
 
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
- }
1876
+ &.is-outlined {
1877
+ background-color: transparent;
1878
+ border-color: $wac-pink-color;
1906
1879
 
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%);
1880
+ .wac-button__loader {
1881
+ background-color: $wac-pink-color-darken;
1920
1882
  }
1921
- }
1922
1883
 
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%);
1884
+ .wac-button__wrapper, .wac-button__animation {
1885
+ color: $wac-pink-color;
1886
+ transition: color 0.3s ease-in-out;
1936
1887
  }
1937
- }
1938
1888
 
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%);
1889
+ &:hover,
1890
+ &.hover {
1891
+ background-color: $wac-pink-color;
1892
+ border-color: $wac-pink-color;
1947
1893
  }
1948
- }
1949
1894
 
1950
- &.top-right {
1951
- right: 0;
1952
- transform: translate(0, -10px);
1953
- bottom: 100%;
1954
- &:before {
1955
- right: 10px;
1956
- top: 100%;
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;
1957
1900
  }
1958
1901
  }
1959
1902
 
1960
- &.top-left {
1961
- left: 0;
1962
- transform: translate(0, -10px);
1963
- bottom: 100%;
1964
- &:before {
1965
- left: 10px;
1966
- top: 100%;
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;
1967
1914
  }
1968
1915
  }
1916
+ }
1969
1917
 
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%);
1985
- }
1918
+ &.is-grey {
1919
+ background-color: $wac-background-color;
1920
+ border-color: $wac-background-color;
1921
+ transition: background-color 0.3s ease-in-out;
1922
+
1923
+ .wac-button__loader {
1924
+ background-color: $wac-background-color-darken;
1986
1925
  }
1987
1926
 
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%;
1927
+ .wac-button__tooltips {
1928
+ background-color: $wac-background-color-darken!important;
1929
+ color: $wac-main-text!important;
1930
+
1931
+ &.right {
1932
+ &:before {
1933
+ border-color: transparent $wac-background-color-darken transparent transparent;
1934
+ }
2001
1935
  }
2002
- }
2003
1936
 
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%;
1937
+ &.left {
1938
+ &:before {
1939
+ border-color: transparent transparent transparent $wac-background-color-darken;
1940
+ }
2018
1941
  }
2019
- }
2020
- }
2021
1942
 
2022
- &:hover, &:focus {
2023
- .wac-button {
2024
- &__tooltips {
2025
- visibility: visible;
2026
- opacity: .9;
2027
- transition: opacity .3s ease .05s, visibility 0s linear 0s;
1943
+ &.top-center {
1944
+ &:before {
1945
+ border-color: $wac-background-color-darken transparent transparent transparent;
1946
+ }
2028
1947
  }
2029
- }
2030
- }
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;
2036
- }
2037
- }
2038
- }
2039
1948
 
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;
1949
+ &.top-right {
1950
+ &:before {
1951
+ border-color: $wac-background-color-darken transparent transparent transparent;
1952
+ }
2051
1953
  }
2052
- }
2053
- }
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;
1954
+
1955
+ &.top-left {
1956
+ &:before {
1957
+ border-color: $wac-background-color-darken transparent transparent transparent;
1958
+ }
1959
+ }
1960
+
1961
+ &.bottom-center {
1962
+ &:before {
1963
+ border-color: transparent transparent $wac-background-color-darken transparent;
1964
+ }
1965
+ }
1966
+
1967
+ &.bottom-right {
1968
+ &:before {
1969
+ border-color: transparent transparent $wac-background-color-darken transparent;
1970
+ }
1971
+ }
1972
+
1973
+ &.bottom-left {
1974
+ &:before {
1975
+ border-color: transparent transparent $wac-background-color-darken transparent;
1976
+ }
2063
1977
  }
2064
1978
  }
2065
- }
2066
- &--no-margin {
2067
- margin: 0;
2068
- .wac-calendar__autoHide {
2069
- margin: 0;
2070
- }
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;
1979
+
1980
+ .wac-button__wrapper, .wac-button__animation {
1981
+ color: $wac-second-color;
1982
+ transition: color 0.3s ease-in-out;
2079
1983
  }
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;
2087
1984
 
2088
- &.bold {
2089
- font-weight: 500;
1985
+ &:hover,
1986
+ &.hover {
1987
+ background-color: $wac-background-color-darken;
1988
+ border-color: $wac-background-color-darken;
1989
+ transition: background-color 0.3s ease-in-out;
2090
1990
  }
2091
- }
2092
- &__autoHide {
2093
- max-width: 300px;
2094
- position: relative;
2095
- }
2096
- &__wrapper {
2097
- &__input {
2098
- border-radius: 3px;
2099
- display: flex;
2100
- justify-content: flex-start;
2101
- align-items: 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
- }
1991
+
1992
+ &:focus,
1993
+ &.focus {
1994
+ background-color: $wac-background-color-focus;
1995
+ border-color: $wac-background-color-focus;
1996
+ transition: background-color 0.3s ease-in-out;
1997
+ }
1998
+
1999
+ &.is-outlined {
2000
+ background-color: transparent;
2001
+ border-color: $wac-border-light;
2002
+
2003
+ .wac-button__loader {
2004
+ background-color: $wac-background-color-darken;
2127
2005
  }
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
- }
2006
+
2007
+ .wac-button__wrapper, .wac-button__animation {
2008
+ color: $wac-second-color !important;
2009
+ transition: color 0.3s ease-in-out;
2148
2010
  }
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;
2011
+
2012
+ &:hover,
2013
+ &.hover {
2014
+ background-color: $wac-background-color;
2015
+ border-color: $wac-background-color;
2157
2016
  }
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
- }
2017
+
2018
+ &:focus,
2019
+ &.focus {
2020
+ background-color: $wac-background-color-focus;
2021
+ border-color: $wac-background-color-focus;
2022
+ transition: background-color 0.3s ease-in-out;
2173
2023
  }
2174
2024
  }
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;
2025
+
2026
+ &.is-loading {
2027
+ &:hover,
2028
+ &.hover {
2029
+ background-color: $wac-background-color;
2030
+ transition: background-color 0.3s ease-in-out;
2191
2031
  }
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;
2199
- i {
2200
- font-size: rem(14);
2201
- color: $wac-wizishop-blue;
2202
- transition: color 300ms ease;
2032
+ }
2033
+ }
2034
+
2035
+ &.is-danger {
2036
+ background-color: $wac-primary-button;
2037
+ border-color: $wac-primary-button;
2038
+ transition: background-color 0.3s ease-in-out;
2039
+
2040
+ .wac-button__loader {
2041
+ background-color: $wac-primary-button-darken;
2042
+ }
2043
+
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;
2203
2050
  }
2204
2051
  }
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;
2052
+
2053
+ &.left {
2054
+ &:before {
2055
+ border-color: transparent transparent transparent $wac-primary-button-darken;
2056
+ }
2212
2057
  }
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
- }
2058
+
2059
+ &.top-center {
2060
+ &:before {
2061
+ border-color: $wac-primary-button-darken transparent transparent transparent;
2228
2062
  }
2229
2063
  }
2230
- }
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
- }
2064
+
2065
+ &.top-right {
2066
+ &:before {
2067
+ border-color: $wac-primary-button-darken transparent transparent transparent;
2257
2068
  }
2258
- i {
2259
- font-size: rem(18);
2260
- font-weight: 400;
2261
- color: $wac-second-color;
2262
- transition: color 300ms ease;
2069
+ }
2070
+
2071
+ &.top-left {
2072
+ &:before {
2073
+ border-color: $wac-primary-button-darken transparent transparent transparent;
2263
2074
  }
2264
2075
  }
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;
2076
+
2077
+ &.bottom-center {
2078
+ &:before {
2079
+ border-color: transparent transparent $wac-primary-button-darken transparent;
2274
2080
  }
2275
2081
  }
2276
- &__close {
2277
- width: 10px;
2278
- cursor: pointer;
2279
- i {
2280
- font-size: 14px;
2281
- transition: color 300ms ease;
2282
- color: $wac-primary-button;
2082
+
2083
+ &.bottom-right {
2084
+ &:before {
2085
+ border-color: transparent transparent $wac-primary-button-darken transparent;
2283
2086
  }
2284
- &:hover,
2285
- &:focus {
2286
- i {
2287
- color: darken($wac-primary-button, 15%);
2288
- }
2087
+ }
2088
+
2089
+ &.bottom-left {
2090
+ &:before {
2091
+ border-color: transparent transparent $wac-primary-button-darken transparent;
2289
2092
  }
2290
2093
  }
2291
2094
  }
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%;
2095
+
2096
+ &:hover,
2097
+ &.hover {
2098
+ background-color: $wac-primary-button-darken;
2099
+ border-color: $wac-primary-button-darken;
2100
+ transition: background-color 0.3s ease-in-out;
2320
2101
  }
2321
- &.right {
2322
- transform: translateY(-50%) translateX(10px);
2323
- left: 100%;
2324
- top: 50%;
2102
+
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;
2325
2108
  }
2326
- &.left-top {
2327
- left: auto;
2328
- right: 100%;
2329
- top: auto;
2330
- bottom: 0;
2331
- transform: translateY(-10px) translateX(-10px);
2109
+
2110
+ &.is-outlined {
2111
+ background-color: transparent;
2112
+ border-color: $wac-primary-button;
2113
+
2114
+ .wac-button__wrapper, .wac-button__animation {
2115
+ color: $wac-primary-button;
2116
+ transition: color 0.3s ease-in-out;
2117
+ }
2118
+
2119
+ &:hover,
2120
+ &.hover {
2121
+ background-color: $wac-primary-button;
2122
+ border-color: $wac-primary-button;
2123
+ }
2124
+
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;
2130
+ }
2332
2131
  }
2333
- &.left-bottom {
2334
- left: auto;
2335
- right: 100%;
2336
- top: 0;
2337
- transform: translateY(10px) translateX(-10px);
2132
+
2133
+ &.is-loading {
2134
+ &:hover,
2135
+ &.hover {
2136
+ background-color: $wac-primary-button;
2137
+ transition: background-color 0.3s ease-in-out;
2138
+ }
2338
2139
  }
2339
- &.right-top {
2340
- left: 100%;
2341
- top: auto;
2342
- bottom: 0;
2343
- transform: translateY(-10px) translateX(10px);
2140
+
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
+ }
2344
2148
  }
2345
- &.right-bottom {
2346
- left: 100%;
2347
- top: 0;
2348
- transform: translateY(10px) translateX(10px);
2149
+ }
2150
+
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
+ }
2160
+
2161
+ &.left {
2162
+ &:before {
2163
+ border-color: transparent transparent transparent $wac-green-color-darken;
2164
+ }
2165
+ }
2166
+
2167
+ &.top-center {
2168
+ &:before {
2169
+ border-color: $wac-green-color-darken transparent transparent transparent;
2170
+ }
2171
+ }
2172
+
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
+ }
2195
+ }
2196
+
2197
+ &.bottom-left {
2198
+ &:before {
2199
+ border-color: transparent transparent $wac-green-color-darken transparent;
2200
+ }
2201
+ }
2349
2202
  }
2350
- & > * > * {
2351
- width: 265px;
2203
+ }
2204
+
2205
+ &.is-success {
2206
+ background-color: $wac-green-color;
2207
+ border-color: $wac-green-color;
2208
+ transition: background-color 0.3s ease-in-out;
2209
+
2210
+ .wac-button__loader {
2211
+ background-color: $wac-green-color-darken;
2352
2212
  }
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;
2213
+
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
+ }
2368
2221
  }
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;
2222
+
2223
+ &.left {
2377
2224
  &: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;
2225
+ border-color: transparent transparent transparent $wac-green-color-darken;
2389
2226
  }
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;
2227
+ }
2228
+
2229
+ &.top-center {
2230
+ &:before {
2231
+ border-color: $wac-green-color-darken transparent transparent transparent;
2402
2232
  }
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
- }
2233
+ }
2448
2234
 
2449
- input::-webkit-outer-spin-button,
2450
- input::-webkit-inner-spin-button {
2451
- -webkit-appearance: none;
2452
- margin: 0;
2453
- }
2235
+ &.top-right {
2236
+ &:before {
2237
+ border-color: $wac-green-color-darken transparent transparent transparent;
2238
+ }
2239
+ }
2454
2240
 
2455
- /* Firefox */
2456
- input[type='number'] {
2457
- -moz-appearance: textfield;
2458
- }
2241
+ &.top-left {
2242
+ &:before {
2243
+ border-color: $wac-green-color-darken transparent transparent transparent;
2244
+ }
2245
+ }
2459
2246
 
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
- }
2247
+ &.bottom-center {
2248
+ &:before {
2249
+ border-color: transparent transparent $wac-green-color-darken transparent;
2470
2250
  }
2471
- &__hours {
2472
- margin: 0 10px 0 0;
2251
+ }
2252
+
2253
+ &.bottom-right {
2254
+ &:before {
2255
+ border-color: transparent transparent $wac-green-color-darken transparent;
2473
2256
  }
2474
- &__minutes {
2475
- margin: 0 0 0 10px;
2257
+ }
2258
+
2259
+ &.bottom-left {
2260
+ &:before {
2261
+ border-color: transparent transparent $wac-green-color-darken transparent;
2262
+ }
2263
+ }
2264
+ }
2265
+
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;
2271
+ }
2272
+
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;
2278
+ }
2279
+
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;
2287
+ }
2288
+
2289
+ &:hover,
2290
+ &.hover {
2291
+ background-color: $wac-green-color;
2292
+ border-color: $wac-green-color;
2293
+ }
2294
+
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;
2300
+ }
2301
+ }
2302
+
2303
+ &.is-loading {
2304
+ &:hover,
2305
+ &.hover {
2306
+ background-color: $wac-green-color;
2307
+ transition: background-color 0.3s ease-in-out;
2308
+ }
2309
+ }
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;
2316
+ }
2317
+ }
2318
+ }
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;
2337
+ }
2338
+
2339
+ &.is-loading {
2340
+ &:hover,
2341
+ &.hover {
2342
+ background-color: transparent;
2343
+ transition: background-color 0.3s ease-in-out;
2344
+ }
2345
+ }
2346
+ }
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;
2358
+ }
2359
+ }
2360
+ }
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
+ }
2386
+ }
2387
+
2388
+ &.outlined {
2389
+ z-index: 4;
2390
+ }
2391
+ }
2392
+
2393
+ &.alone {
2394
+ max-width: 40px!important;
2395
+ .wac-button__loader span {
2396
+ left: 14.6px;
2397
+ }
2398
+ }
2399
+
2400
+ &.opacity {
2401
+ min-width: rem(40);
2402
+ min-height: rem(40);
2403
+ border-color: transparent!important;
2404
+
2405
+ &.alone {
2406
+ display: flex;
2407
+ align-items: center;
2408
+ justify-content: center;
2409
+ }
2410
+
2411
+ &.is-success {
2412
+ i {
2413
+ color: $wac-green-color!important;
2414
+ }
2415
+ &:hover, &:focus {
2416
+ i {
2417
+ color: $wac-white!important;
2418
+ }
2419
+ }
2420
+ }
2421
+
2422
+ &.is-danger {
2423
+ i {
2424
+ color: $wac-primary-button!important;
2425
+ }
2426
+ &:hover, &:focus {
2427
+ i {
2428
+ color: $wac-white!important;
2476
2429
  }
2477
2430
  }
2478
2431
  }
2479
2432
  }
2480
- }
2481
2433
 
2482
- .datetimepicker-dummy .datetimepicker-clear-button {
2483
- top: -3px !important;
2484
- }
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;
2485
2446
 
2486
- .datetimepicker-dummy .datetimepicker-dummy-wrapper {
2487
- border: 1px solid $wac-border-color;
2488
- border-radius: rem(3);
2447
+ &.oneline {
2448
+ width: auto!important;
2449
+ white-space: nowrap;
2450
+ min-width: unset!important;
2451
+ }
2489
2452
 
2490
- &:hover,
2491
- &:focus {
2492
- border: 1px solid $wac-wizishop-blue;
2493
- }
2494
- }
2453
+ @include media('>=tablet') {
2454
+ min-width: 600px;
2455
+ }
2495
2456
 
2457
+ @include media('<tablet') {
2458
+ min-width: 100% !important;
2459
+ max-width: 100% !important;
2460
+ }
2496
2461
 
2497
- .datetimepicker {
2498
- box-shadow: none !important;
2499
- &-wrapper {
2500
- border: none !important;
2501
- box-shadow: none;
2502
- background: $wac-white;
2503
- }
2504
- }
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
+ }
2505
2472
 
2506
- .datepicker {
2507
- .datepicker {
2508
- &-nav {
2509
- background: $wac-white !important;
2510
- color: $wac-main-text !important;
2511
- padding: 15px !important;
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
+ }
2512
2487
  }
2513
- }
2514
- }
2515
2488
 
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
- }
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
+ }
2525
2504
 
2526
- .datepicker-nav-year {
2527
- font-weight: 500 !important;
2528
- }
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
+ }
2514
+ }
2529
2515
 
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
- }
2516
+ &.top-right {
2517
+ right: 0;
2518
+ transform: translate(0, -10px);
2519
+ bottom: 100%;
2520
+ &:before {
2521
+ right: 10px;
2522
+ top: 100%;
2523
+ }
2524
+ }
2546
2525
 
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
- }
2526
+ &.top-left {
2527
+ left: 0;
2528
+ transform: translate(0, -10px);
2529
+ bottom: 100%;
2530
+ &:before {
2531
+ left: 10px;
2532
+ top: 100%;
2533
+ }
2534
+ }
2557
2535
 
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;
2566
- }
2567
- }
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
+ }
2568
2553
 
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;
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
+ }
2569
+
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
+ }
2582
2585
  }
2583
2586
  }
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
2587
 
2595
- .datetimepicker .datetimepicker-footer {
2596
- display: none;
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
+ }
2595
+ }
2596
+ }
2597
2597
  }
2598
2598
  .wac-card-price {
2599
2599
  width: 100%;