@wizishop/angular-components 0.0.229 → 0.0.232

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.
@@ -768,73 +768,227 @@ $wac-subtitle-color: #7A87A1!default;
768
768
  }
769
769
  }
770
770
  }
771
- .wac-alert {
772
- width: 100%;
773
- background-color: transparentize($wac-link-color, 0.85);
774
- color: $wac-link-color;
775
- border-radius: 3px;
776
- display: flex;
777
- flex-wrap: nowrap;
778
- justify-content: space-between;
779
- padding: 20px;
780
- &.success {
781
- background-color: transparentize($wac-green-color, 0.85);
782
- p {
783
- color: $wac-p-alert-color-success;
784
- > * {
785
- color: $wac-p-alert-color-success;
771
+ .wac-alert-popup {
772
+ .alert {
773
+ z-index: 999999;
774
+ position: fixed;
775
+ color: $wac-white;
776
+ background-color: $wac-primary-button;
777
+ border: 1px solid transparent;
778
+ border-radius: 5px;
779
+ padding: 40px;
780
+ transition: all 200ms;
781
+ opacity: 0;
782
+ margin: 10px auto;
783
+ max-width: 550px;
784
+ width: auto;
785
+ box-shadow: 0 0 20px rgba(50, 50, 50, 0.1);
786
+ font-size: 14px;
787
+
788
+ &.with-icon {
789
+ .alert--message {
790
+ display: flex;
791
+ align-items: center;
792
+ justify-content: center;
793
+ width: 100%;
786
794
  }
787
795
  }
788
- i {
789
- color: $wac-green-color;
796
+
797
+ .icon + .wac-alert-popup__close + .wac-alert-popup__text {
798
+ width: auto;
790
799
  }
791
- }
792
- &.warning {
793
- background-color: transparentize($wac-primary-button, 0.85);
800
+
801
+ &.fullsize {
802
+ max-width: 100%;
803
+ width: 100%;
804
+ border-radius: 0;
805
+ margin: 0;
806
+ padding: 20px 40px 20px 20px;
807
+ }
808
+
809
+ &.is-left {
810
+ left: -100px;
811
+ margin: 10px;
812
+ top: 100px;
813
+ }
814
+
815
+ &.is-right {
816
+ right: -100px;
817
+ margin: 10px;
818
+ top: 100px;
819
+ }
820
+
821
+ &.is-top {
822
+ top: -100px;
823
+ left: 0;
824
+ right: 0;
825
+ }
826
+
827
+ &.is-bottom {
828
+ bottom: -100px;
829
+ left: 0;
830
+ right: 0;
831
+ }
832
+
833
+ &.is-active {
834
+ opacity: 1;
835
+ &.opacity-active {
836
+ opacity: .85;
837
+ }
838
+ &.is-left {
839
+ left: 0;
840
+ }
841
+
842
+ &.is-right {
843
+ right: 0;
844
+ }
845
+
846
+ &.is-top {
847
+ top: 0;
848
+ &.small {
849
+ top: 30px;
850
+ }
851
+ }
852
+
853
+ &.is-bottom {
854
+ bottom: 0;
855
+ &.small {
856
+ bottom: -70px;
857
+ }
858
+ }
859
+ }
860
+
794
861
  p {
795
- color: $wac-p-alert-color-warning;
796
- > * {
797
- color: $wac-p-alert-color-warning;
862
+ display: inline-block;
863
+ }
864
+
865
+ span {
866
+ vertical-align: middle;
867
+ margin: 0 10px 0 0;
868
+ }
869
+ &.is-primary {
870
+ background-color: $wac-primary-button;
871
+
872
+ &.is-inverted {
873
+ background-color: $wac-white;
874
+ border: 1px solid $wac-primary-button;
875
+ color: $wac-primary-button;
798
876
  }
799
877
  }
800
- i {
801
- color: $wac-primary-button;
878
+
879
+ &.is-success {
880
+ background-color: $wac-color-success-popup-alert;
881
+
882
+ &.is-inverted {
883
+ background-color: $wac-white;
884
+ border: 1px solid $wac-color-success-popup-alert;
885
+ color: $wac-color-success-popup-alert;
886
+ }
802
887
  }
803
- }
804
- &.alert {
805
- background-color: transparentize($wac-orange-color, 0.85);
806
- p {
807
- color: $wac-p-alert-color-alert;
808
- > * {
809
- color: $wac-p-alert-color-alert;
888
+
889
+ &.is-danger {
890
+ background-color: $wac-primary-button;
891
+
892
+ &.is-inverted {
893
+ background-color: $wac-white;
894
+ border: 1px solid $wac-primary-button;
895
+ color: $wac-primary-button;
810
896
  }
811
897
  }
812
- i {
813
- color: $wac-orange-color;
898
+
899
+ &.is-info {
900
+ background-color: $wac-white;
901
+ border: 1px solid $wac-main-text;
902
+ color: $wac-main-text;
903
+ }
904
+
905
+ &.small {
906
+ padding: 10px;
907
+ border-radius: 3px;
908
+ right: 30px;
909
+ top: auto;
910
+ left: auto;
911
+ width: auto;
912
+ min-width: unset;
913
+ margin: 0 0 100px;
914
+ background-color: $wac-tag-success;
915
+ font-size: rem(14);
916
+ &.is-danger {
917
+ background-color: $wac-primary-button;
918
+ }
919
+ .alert--message {
920
+ display: flex;
921
+ align-items: center;
922
+ justify-content: flex-start;
923
+ }
924
+ .wac-alert-popup {
925
+ &__text {
926
+ font-size: rem(14);
927
+ white-space: nowrap;
928
+ font-weight: 600;
929
+ }
930
+ &__close {
931
+ display: none;
932
+ }
933
+ }
814
934
  }
815
935
  }
816
- p {
817
- width: 100%;
818
- font-size: rem(14);
819
- line-height: rem(25);
936
+
937
+ &__title {
938
+ font-size: rem(24);
939
+ line-height: 1.4;
820
940
  margin: 0;
821
- padding: 0;
822
- color: $wac-p-alert-color-default;
823
- > * {
824
- color: $wac-p-alert-color-default;
825
- }
941
+ font-weight: 700;
942
+ text-align: center;
943
+ width: 100%;
826
944
  }
827
- i {
828
- width: auto;
829
- margin: 0 10px 0 0;
830
- color: inherit;
831
- font-size: rem(14);
832
- line-height: rem(25);
945
+
946
+ &__text {
947
+ font-size: rem(16);
948
+ font-weight: 500;
949
+ text-align: center;
950
+ width: 100%;
951
+ margin: 0;
833
952
  }
834
953
 
835
- .wac-button i {
836
- color: $wac-white;
954
+ &__close {
955
+ cursor: pointer;
956
+ display: flex;
957
+ position: absolute;
958
+ top: 10px;
959
+ right: 10px;
960
+ width: rem(40);
961
+ height: rem(40);
962
+ border-radius: 50%;
963
+ justify-content: center;
964
+ align-items: center;
965
+ background-color: darken($wac-primary-button, 10%);
966
+ transition: .3s ease;
967
+ &:hover, &:focus {
968
+ background-color: darken($wac-primary-button, 15%);
969
+ }
970
+ i {
971
+ font-size: rem(20);
972
+ color: $white;
973
+ }
974
+ .is-success & {
975
+ background-color: darken($wac-color-success-popup-alert, 20%);
976
+ &:hover, &:focus {
977
+ background-color: darken($wac-color-success-popup-alert, 30%);
978
+ }
979
+ }
980
+ .is-danger & {
981
+ background-color: darken($wac-primary-button, 10%);
982
+ &:hover, &:focus {
983
+ background-color: darken($wac-primary-button, 15%);
984
+ }
985
+ }
986
+ .fullsize & {
987
+ top: 50%;
988
+ transform: translateY(-50%);
989
+ }
837
990
  }
991
+
838
992
  }
839
993
  .selected-list {
840
994
  width: 100%;
@@ -926,117 +1080,30 @@ $wac-subtitle-color: #7A87A1!default;
926
1080
  }
927
1081
  }
928
1082
  }
929
- }.wac-block {
930
- background-color: $white;
931
- @include padding(rem(30));
932
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
933
- @include simple_transition();
934
- height: 100%;
935
- border-radius: 3px;
936
-
937
- @include media('<tablet') {
938
- @include padding(rem(20));
939
- }
940
-
941
- &.no-padding {
942
- padding: 0;
943
- }
944
-
945
- &.border-radius {
946
- border-radius: 5px;
947
- }
948
-
949
- &.sticky {
950
- position: sticky;
951
- top: 20px;
952
- }
953
-
954
- &.noFullHeight {
955
- height: auto;
956
- }
957
-
958
- &.stretch {
959
- display: flex;
960
- flex-wrap: wrap;
961
- .wac-block__content {
962
- display: flex;
963
- }
964
- }
965
-
966
- /*************************/
967
- /* Titre INTERNE au bloc */
968
- /*************************/
969
- &__title {
970
- text-transform: none;
971
- font-size: rem(16);
972
- font-weight: 500;
973
- margin-bottom: rem(20);
974
- color: $wac-main-text;
1083
+ }.wac-back {
1084
+ width: 40px;
1085
+ height: 40px;
975
1086
 
976
- &.no-uppercase {
977
- text-transform: none;
978
- }
1087
+ &__wrapper {
1088
+ @include flexbox();
1089
+ @include justify-content(center);
1090
+ @include align-items(center);
1091
+ width: 100%;
1092
+ height: 100%;
1093
+ border-radius: 3px;
1094
+ border: 1px solid $wac-border-light;
1095
+ background-color: transparent;
1096
+ transition: border-color 0.3s ease-in-out;
979
1097
 
980
- &.is-simple {
981
- text-transform: none;
982
- font-weight: 500;
983
- }
984
1098
  i {
985
- font-size: 16px;
986
- margin: 0 0 0 8px;
987
- &.success {
988
- color: $wac-green-color;
989
- }
990
- &.warning {
991
- color: $wac-orange-color;
992
- }
993
- &.danger {
994
- color: $wac-primary-button;
995
- }
996
- }
997
- }
998
-
999
- &:hover {
1000
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1001
- }
1002
-
1003
- /*************************/
1004
- /* Titre EXTERNE au bloc */
1005
- /*************************/
1006
- &__external {
1007
- padding: 0;
1008
- background: transparent;
1009
- box-shadow: none;
1010
- height: calc(100% - 60px);
1011
- transition: none;
1012
-
1013
- .wac-block__title {
1014
- font-size: 1.875rem;
1015
- margin-bottom: 1.5rem;
1016
- margin-left: 10px;
1017
- line-height: 1.5625rem;
1018
- margin-top: 0.625rem;
1019
- font-weight: 400;
1020
- color: $wac-block-color;
1021
- &.is-simple {
1022
- text-transform: none;
1023
- font-weight: 500;
1024
- }
1025
- }
1026
-
1027
- .wac-block__content {
1028
- background-color: $wac-block-color-background;
1029
- padding: 1.875rem;
1030
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
1031
- transition: none;
1032
- height: 100%;
1033
- &:hover {
1034
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1035
- }
1099
+ color: $wac-second-color;
1100
+ font-size: 11px;
1101
+ line-height: 14px;
1036
1102
  }
1037
1103
 
1038
1104
  &:hover {
1039
- box-shadow: none;
1105
+ border-color: $wac-back-border-hover;
1106
+ transition: border-color 0.3s ease-in-out;
1040
1107
  }
1041
1108
  }
1042
1109
  }
@@ -1050,140 +1117,134 @@ $wac-subtitle-color: #7A87A1!default;
1050
1117
  border-bottom-style: dashed;
1051
1118
  }
1052
1119
  }
1053
- .block-with-checkbox {
1120
+ .wac-breadcrumbs {
1054
1121
  width: 100%;
1055
1122
  display: flex;
1056
1123
  align-items: center;
1057
- background-color: $wac-white;
1058
- box-shadow: 0px 2px 6px #0000000D;
1124
+ padding: 0;
1125
+ margin: 0 0 10px;
1059
1126
  border-radius: 3px;
1060
- margin: 0 0 15px;
1061
- padding: 30px;
1062
- border: 2px solid transparent;
1063
- transition: .3s ease;
1064
- opacity: .45;
1065
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
1066
- border-color: $wac-input-active-color;
1067
- opacity: 1!important;
1068
- }
1069
- &.firstWacRadioBLock:not(.disabled) {
1070
- opacity: 1!important;
1071
- }
1127
+
1072
1128
  @include media('<tablet') {
1073
- padding: 20px;
1074
- flex-direction: column;
1075
- align-items: center;
1076
- justify-content: flex-start;
1129
+ &:not(.no-responsive) {
1130
+ max-width: 100%;
1131
+ overflow: hidden;
1132
+ .wac-breadcrumbs {
1133
+ &__wrapper {
1134
+ @include media('<tablet') {
1135
+ width: auto;
1136
+ overflow-x: scroll;
1137
+ }
1138
+ }
1139
+ &__item {
1140
+ @include media('<tablet') {
1141
+ width: auto;
1142
+ min-width: unset;
1143
+ max-width: unset;
1144
+ .name {
1145
+ white-space: nowrap;
1146
+ }
1147
+ }
1148
+ }
1149
+ }
1150
+ }
1077
1151
  }
1078
- &__left {
1079
- width: 30px;
1080
- margin: 0 20px 0 0;
1152
+
1153
+ &__wrapper {
1154
+ width: 100%;
1081
1155
  display: flex;
1082
1156
  align-items: center;
1083
- cursor: pointer;
1084
- @include media('<tablet') {
1085
- margin: 0 0 20px;
1086
- }
1087
1157
  }
1088
- &__center {
1158
+
1159
+ &__item {
1089
1160
  width: 100%;
1161
+ max-width: 50%;
1162
+ display: flex;
1163
+ align-items: center;
1164
+ justify-content: center;
1165
+ position: relative;
1166
+ padding: 10px;
1090
1167
  cursor: pointer;
1091
- }
1092
- &:hover:not(.disabled), &:focus:not(.disabled) {
1093
- input + label {
1168
+ &:before {
1169
+ content: '';
1170
+ display: block;
1171
+ position: absolute;
1172
+ bottom: -5px;
1173
+ left: 50%;
1174
+ transform: translateX(-50%);
1175
+ width: calc(100% - 5px);
1176
+ height: 3px;
1177
+ background-color: $wac-round-breadcrumbs;
1178
+ }
1179
+ &.current, &.valid {
1094
1180
  &:before {
1095
- border-color: $wac-input-active-color !important;
1181
+ background-color: $wac-wizishop-blue;
1182
+ }
1183
+ &:hover, &:focus {
1184
+ .round {
1185
+ background-color: $wac-wizishop-blue;
1186
+ border-color: $wac-wizishop-blue;
1187
+ > span, > i {
1188
+ color: $wac-white;
1189
+ }
1190
+ }
1191
+ .name {
1192
+ color: $wac-wizishop-blue;
1193
+ }
1096
1194
  }
1097
1195
  }
1098
- }
1099
- }
1100
1196
 
1101
- .wac-radio-block {
1102
- width: 22px!important;
1103
- height: 22px;
1104
- input {
1105
- outline: 0 !important;
1106
- display: none;
1107
- & + label {
1108
- margin: 0 30px 0 0;
1109
- position: relative;
1110
- cursor: pointer;
1111
- display: block;
1112
- width: 22px;
1113
- height: 22px;
1114
- padding: 0!important;
1197
+
1198
+ &.current {
1115
1199
  &:before {
1116
- content: '';
1117
- display: block;
1118
- position: absolute;
1119
- width: 22px;
1120
- height: 22px;
1121
- border: 1px solid $wac-border-form;
1122
- border-radius: 23px;
1123
- top: 0;
1124
- left: 0;
1125
- }
1126
- &:after {
1127
- content: "";
1128
- display: block;
1129
- position: absolute;
1130
- width: 16px;
1131
- height: 16px;
1132
- border-radius: 23px;
1133
- background: $wac-input-active-color;
1134
- top: 50%;
1135
- left: 50%;
1136
- transform: translate(-50%, -50%);
1137
- opacity: 0;
1200
+ height: 5px;
1138
1201
  }
1139
- &:before,
1140
- &:after {
1141
- outline: 0 !important;
1202
+ }
1203
+ .round {
1204
+ min-width: 30px;
1205
+ height: 30px;
1206
+ border-radius: 30px;
1207
+ display: flex;
1208
+ justify-content: center;
1209
+ align-items: center;
1210
+ border: 2px solid $wac-round-breadcrumbs;
1211
+ background-color: $wac-round-breadcrumbs;
1212
+ transition: .3s ease;
1213
+ margin: 0 15px 0 0;
1214
+ > span {
1215
+ font-size: rem(12);
1216
+ font-weight: 500;
1217
+ color: $wac-second-color;
1218
+ line-height: 1;
1142
1219
  }
1143
- &:hover,
1144
- &:focus {
1145
- &:before {
1146
- border-color: $wac-input-active-color !important;
1147
- }
1220
+ > i {
1221
+ font-size: rem(14);
1222
+ color: $wac-wizishop-blue;
1148
1223
  }
1149
- }
1150
- &:hover {
1151
- & + label {
1152
- color: $wac-input-radio-color-active-label;
1153
- &:before {
1154
- border-color: $wac-input-active-color !important;
1155
- }
1224
+ &.valid {
1225
+ background-color: transparent;
1226
+ border-color: $wac-wizishop-blue;
1227
+ color: $wac-wizishop-blue;
1156
1228
  }
1157
- &:not([disabled]) {
1158
- & + label {
1159
- &:before {
1160
- border-color: $wac-input-active-color !important;
1161
- }
1229
+ &.current:not(.valid) {
1230
+ background-color: $wac-wizishop-blue;
1231
+ border-color: $wac-wizishop-blue;
1232
+ > span, > i {
1233
+ color: $wac-white;
1162
1234
  }
1163
1235
  }
1164
1236
  }
1165
- &:checked + label {
1166
- color: $wac-input-radio-color-active-label;
1167
- &:before {
1168
- border-color: $wac-input-active-color!important;
1169
- }
1170
- &:after {
1171
- opacity: 1;
1237
+ .name {
1238
+ font-size: rem(14);
1239
+ font-weight: 500;
1240
+ color: $wac-second-color;
1241
+ line-height: 1;
1242
+ transition: .3s ease;
1243
+ &.valid, &.current {
1244
+ color: $wac-wizishop-blue;
1172
1245
  }
1173
1246
  }
1174
1247
  }
1175
-
1176
-
1177
- .wac-radio__row {
1178
- min-width: 100%;
1179
- margin: 0;
1180
- height: 22px;
1181
- }
1182
-
1183
- label {
1184
- padding-left: 7px;
1185
- margin-right: 0;
1186
- }
1187
1248
  }
1188
1249
  .wac-settings {
1189
1250
  width: 40px;
@@ -2040,7 +2101,7 @@ $wac-subtitle-color: #7A87A1!default;
2040
2101
  width: 100%;
2041
2102
  max-width: calc(100% - 150px);
2042
2103
  &__count {
2043
- margin: 10px 0 0;
2104
+ margin: 0;
2044
2105
  width: 100%;
2045
2106
  display: flex;
2046
2107
  align-items: flex-end;
@@ -3004,9 +3065,10 @@ $wac-subtitle-color: #7A87A1!default;
3004
3065
  }
3005
3066
  }
3006
3067
  }
3007
- .wac-image {
3008
- width: 60px;
3009
- height: 60px;
3068
+ .wac-info {
3069
+ display: inline-block;
3070
+ width: 40px;
3071
+ height: 40px;
3010
3072
 
3011
3073
  &__wrapper {
3012
3074
  @include flexbox();
@@ -3014,20 +3076,48 @@ $wac-subtitle-color: #7A87A1!default;
3014
3076
  @include align-items(center);
3015
3077
  width: 100%;
3016
3078
  height: 100%;
3017
- border-radius: 3px;
3018
- border: 1px solid $wac-border-light;
3019
- background-position: center;
3020
- background-size: contain;
3021
- background-repeat: no-repeat;
3079
+ position: relative;
3022
3080
 
3023
- &.empty {
3024
- background-color: $wac-gray-background;
3081
+ i {
3082
+ font-size: 14px;
3083
+ line-height: 25px;
3084
+ color: $wac-second-color;
3085
+ transition: color 0.3s ease-in-out;
3086
+ }
3087
+
3088
+ &__sublevel {
3089
+ position: absolute;
3090
+ width: 350px;
3091
+ top: 13px;
3092
+ left: 100%;
3093
+ z-index: -1;
3094
+ opacity: 0;
3095
+ background-color: $wac-white;
3096
+ border-radius: rem(3);
3097
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
3098
+ visibility: hidden;
3099
+ transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
3100
+
3101
+ &__container {
3102
+ padding: 15px 20px;
3103
+ font-size: rem(14);
3104
+ line-height: rem(25);
3105
+ color: $wac-second-color;
3106
+ }
3025
3107
  }
3026
3108
 
3027
- i {
3028
- color: $wac-border-form;
3029
- font-size: 25px;
3030
- line-height: 23px;
3109
+ &:hover {
3110
+ i {
3111
+ color: $wac-input-active-color;
3112
+ transition: color 0.3s ease-in-out;
3113
+ }
3114
+
3115
+ .wac-info__wrapper__sublevel {
3116
+ visibility: visible;
3117
+ opacity: 1;
3118
+ z-index: 2;
3119
+ transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
3120
+ }
3031
3121
  }
3032
3122
  }
3033
3123
  }
@@ -3112,9 +3202,12 @@ $wac-subtitle-color: #7A87A1!default;
3112
3202
  }
3113
3203
 
3114
3204
  textarea {
3115
- &.is-danger {
3205
+ &.is-danger:not(.is-empty) {
3116
3206
  border-color: $wac-primary-button !important;
3117
3207
  }
3208
+ &[disabled] {
3209
+ background-color: $wac-tag-default !important;
3210
+ }
3118
3211
  }
3119
3212
  textarea:focus {
3120
3213
  border-color: $wizishop-blue !important;
@@ -3148,6 +3241,9 @@ $wac-subtitle-color: #7A87A1!default;
3148
3241
  max-height: rem(80);
3149
3242
  min-height: rem(80);
3150
3243
 
3244
+ &[disabled] {
3245
+ background-color: $wac-tag-default !important;
3246
+ }
3151
3247
  &::placeholder {
3152
3248
  color: $wac-placeholder;
3153
3249
  font-weight: 400;
@@ -3778,241 +3874,19 @@ span.wac-tooltip {
3778
3874
  position: absolute;
3779
3875
  top: 100%;
3780
3876
  margin-top: 10px;
3781
- width: auto;
3782
- right: 0;
3783
- height: 30px;
3784
- line-height: 30px;
3785
- text-align: center;
3786
- background-color: $wac-multiple-search-error;
3787
- color: $wac-white;
3788
- font-size: rem(16);
3789
- font-weight: 500;
3790
- white-space: nowrap;
3791
- padding: 0 20px;
3792
- border-radius: 3px;
3793
- }
3794
- }
3795
- .wac-alert-popup {
3796
- .alert {
3797
- z-index: 999999;
3798
- position: fixed;
3799
- color: $wac-white;
3800
- background-color: $wac-primary-button;
3801
- border: 1px solid transparent;
3802
- border-radius: 5px;
3803
- padding: 40px;
3804
- transition: all 200ms;
3805
- opacity: 0;
3806
- margin: 10px auto;
3807
- max-width: 550px;
3808
- width: auto;
3809
- box-shadow: 0 0 20px rgba(50, 50, 50, 0.1);
3810
- font-size: 14px;
3811
-
3812
- &.with-icon {
3813
- .alert--message {
3814
- display: flex;
3815
- align-items: center;
3816
- justify-content: center;
3817
- width: 100%;
3818
- }
3819
- }
3820
-
3821
- .icon + .wac-alert-popup__close + .wac-alert-popup__text {
3822
- width: auto;
3823
- }
3824
-
3825
- &.fullsize {
3826
- max-width: 100%;
3827
- width: 100%;
3828
- border-radius: 0;
3829
- margin: 0;
3830
- padding: 20px 40px 20px 20px;
3831
- }
3832
-
3833
- &.is-left {
3834
- left: -100px;
3835
- margin: 10px;
3836
- top: 100px;
3837
- }
3838
-
3839
- &.is-right {
3840
- right: -100px;
3841
- margin: 10px;
3842
- top: 100px;
3843
- }
3844
-
3845
- &.is-top {
3846
- top: -100px;
3847
- left: 0;
3848
- right: 0;
3849
- }
3850
-
3851
- &.is-bottom {
3852
- bottom: -100px;
3853
- left: 0;
3854
- right: 0;
3855
- }
3856
-
3857
- &.is-active {
3858
- opacity: 1;
3859
- &.opacity-active {
3860
- opacity: .85;
3861
- }
3862
- &.is-left {
3863
- left: 0;
3864
- }
3865
-
3866
- &.is-right {
3867
- right: 0;
3868
- }
3869
-
3870
- &.is-top {
3871
- top: 0;
3872
- &.small {
3873
- top: 30px;
3874
- }
3875
- }
3876
-
3877
- &.is-bottom {
3878
- bottom: 0;
3879
- &.small {
3880
- bottom: -70px;
3881
- }
3882
- }
3883
- }
3884
-
3885
- p {
3886
- display: inline-block;
3887
- }
3888
-
3889
- span {
3890
- vertical-align: middle;
3891
- margin: 0 10px 0 0;
3892
- }
3893
- &.is-primary {
3894
- background-color: $wac-primary-button;
3895
-
3896
- &.is-inverted {
3897
- background-color: $wac-white;
3898
- border: 1px solid $wac-primary-button;
3899
- color: $wac-primary-button;
3900
- }
3901
- }
3902
-
3903
- &.is-success {
3904
- background-color: $wac-color-success-popup-alert;
3905
-
3906
- &.is-inverted {
3907
- background-color: $wac-white;
3908
- border: 1px solid $wac-color-success-popup-alert;
3909
- color: $wac-color-success-popup-alert;
3910
- }
3911
- }
3912
-
3913
- &.is-danger {
3914
- background-color: $wac-primary-button;
3915
-
3916
- &.is-inverted {
3917
- background-color: $wac-white;
3918
- border: 1px solid $wac-primary-button;
3919
- color: $wac-primary-button;
3920
- }
3921
- }
3922
-
3923
- &.is-info {
3924
- background-color: $wac-white;
3925
- border: 1px solid $wac-main-text;
3926
- color: $wac-main-text;
3927
- }
3928
-
3929
- &.small {
3930
- padding: 10px;
3931
- border-radius: 3px;
3932
- right: 30px;
3933
- top: auto;
3934
- left: auto;
3935
- width: auto;
3936
- min-width: unset;
3937
- margin: 0 0 100px;
3938
- background-color: $wac-tag-success;
3939
- font-size: rem(14);
3940
- &.is-danger {
3941
- background-color: $wac-primary-button;
3942
- }
3943
- .alert--message {
3944
- display: flex;
3945
- align-items: center;
3946
- justify-content: flex-start;
3947
- }
3948
- .wac-alert-popup {
3949
- &__text {
3950
- font-size: rem(14);
3951
- white-space: nowrap;
3952
- font-weight: 600;
3953
- }
3954
- &__close {
3955
- display: none;
3956
- }
3957
- }
3958
- }
3959
- }
3960
-
3961
- &__title {
3962
- font-size: rem(24);
3963
- line-height: 1.4;
3964
- margin: 0;
3965
- font-weight: 700;
3966
- text-align: center;
3967
- width: 100%;
3968
- }
3969
-
3970
- &__text {
3971
- font-size: rem(16);
3972
- font-weight: 500;
3973
- text-align: center;
3974
- width: 100%;
3975
- margin: 0;
3976
- }
3977
-
3978
- &__close {
3979
- cursor: pointer;
3980
- display: flex;
3981
- position: absolute;
3982
- top: 10px;
3983
- right: 10px;
3984
- width: rem(40);
3985
- height: rem(40);
3986
- border-radius: 50%;
3987
- justify-content: center;
3988
- align-items: center;
3989
- background-color: darken($wac-primary-button, 10%);
3990
- transition: .3s ease;
3991
- &:hover, &:focus {
3992
- background-color: darken($wac-primary-button, 15%);
3993
- }
3994
- i {
3995
- font-size: rem(20);
3996
- color: $white;
3997
- }
3998
- .is-success & {
3999
- background-color: darken($wac-color-success-popup-alert, 20%);
4000
- &:hover, &:focus {
4001
- background-color: darken($wac-color-success-popup-alert, 30%);
4002
- }
4003
- }
4004
- .is-danger & {
4005
- background-color: darken($wac-primary-button, 10%);
4006
- &:hover, &:focus {
4007
- background-color: darken($wac-primary-button, 15%);
4008
- }
4009
- }
4010
- .fullsize & {
4011
- top: 50%;
4012
- transform: translateY(-50%);
4013
- }
3877
+ width: auto;
3878
+ right: 0;
3879
+ height: 30px;
3880
+ line-height: 30px;
3881
+ text-align: center;
3882
+ background-color: $wac-multiple-search-error;
3883
+ color: $wac-white;
3884
+ font-size: rem(16);
3885
+ font-weight: 500;
3886
+ white-space: nowrap;
3887
+ padding: 0 20px;
3888
+ border-radius: 3px;
4014
3889
  }
4015
-
4016
3890
  }
4017
3891
  .wac-upload {
4018
3892
  width: auto;
@@ -4110,30 +3984,185 @@ span.wac-tooltip {
4110
3984
  }
4111
3985
  }
4112
3986
  }
4113
- .wac-back {
4114
- width: 40px;
4115
- height: 40px;
4116
-
4117
- &__wrapper {
4118
- @include flexbox();
4119
- @include justify-content(center);
4120
- @include align-items(center);
3987
+ .wac-alert {
3988
+ width: 100%;
3989
+ background-color: transparentize($wac-link-color, 0.85);
3990
+ color: $wac-link-color;
3991
+ border-radius: 3px;
3992
+ display: flex;
3993
+ flex-wrap: nowrap;
3994
+ justify-content: space-between;
3995
+ padding: 20px;
3996
+ &.success {
3997
+ background-color: transparentize($wac-green-color, 0.85);
3998
+ p {
3999
+ color: $wac-p-alert-color-success;
4000
+ > * {
4001
+ color: $wac-p-alert-color-success;
4002
+ }
4003
+ }
4004
+ i {
4005
+ color: $wac-green-color;
4006
+ }
4007
+ }
4008
+ &.warning {
4009
+ background-color: transparentize($wac-primary-button, 0.85);
4010
+ p {
4011
+ color: $wac-p-alert-color-warning;
4012
+ > * {
4013
+ color: $wac-p-alert-color-warning;
4014
+ }
4015
+ }
4016
+ i {
4017
+ color: $wac-primary-button;
4018
+ }
4019
+ }
4020
+ &.alert {
4021
+ background-color: transparentize($wac-orange-color, 0.85);
4022
+ p {
4023
+ color: $wac-p-alert-color-alert;
4024
+ > * {
4025
+ color: $wac-p-alert-color-alert;
4026
+ }
4027
+ }
4028
+ i {
4029
+ color: $wac-orange-color;
4030
+ }
4031
+ }
4032
+ p {
4121
4033
  width: 100%;
4122
- height: 100%;
4123
- border-radius: 3px;
4124
- border: 1px solid $wac-border-light;
4125
- background-color: transparent;
4126
- transition: border-color 0.3s ease-in-out;
4034
+ font-size: rem(14);
4035
+ line-height: rem(25);
4036
+ margin: 0;
4037
+ padding: 0;
4038
+ color: $wac-p-alert-color-default;
4039
+ > * {
4040
+ color: $wac-p-alert-color-default;
4041
+ }
4042
+ }
4043
+ i {
4044
+ width: auto;
4045
+ margin: 0 10px 0 0;
4046
+ color: inherit;
4047
+ font-size: rem(14);
4048
+ line-height: rem(25);
4049
+ }
4050
+
4051
+ .wac-button i {
4052
+ color: $wac-white;
4053
+ }
4054
+ }
4055
+ .wac-block {
4056
+ background-color: $white;
4057
+ @include padding(rem(30));
4058
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
4059
+ @include simple_transition();
4060
+ height: 100%;
4061
+ border-radius: 3px;
4062
+
4063
+ @include media('<tablet') {
4064
+ @include padding(rem(20));
4065
+ }
4066
+
4067
+ &.no-padding {
4068
+ padding: 0;
4069
+ }
4070
+
4071
+ &.border-radius {
4072
+ border-radius: 5px;
4073
+ }
4074
+
4075
+ &.sticky {
4076
+ position: sticky;
4077
+ top: 20px;
4078
+ }
4079
+
4080
+ &.noFullHeight {
4081
+ height: auto;
4082
+ }
4083
+
4084
+ &.stretch {
4085
+ display: flex;
4086
+ flex-wrap: wrap;
4087
+ .wac-block__content {
4088
+ display: flex;
4089
+ }
4090
+ }
4091
+
4092
+ /*************************/
4093
+ /* Titre INTERNE au bloc */
4094
+ /*************************/
4095
+ &__title {
4096
+ text-transform: none;
4097
+ font-size: rem(16);
4098
+ font-weight: 500;
4099
+ margin-bottom: rem(20);
4100
+ color: $wac-main-text;
4101
+
4102
+ &.no-uppercase {
4103
+ text-transform: none;
4104
+ }
4127
4105
 
4106
+ &.is-simple {
4107
+ text-transform: none;
4108
+ font-weight: 500;
4109
+ }
4128
4110
  i {
4129
- color: $wac-second-color;
4130
- font-size: 11px;
4131
- line-height: 14px;
4111
+ font-size: 16px;
4112
+ margin: 0 0 0 8px;
4113
+ &.success {
4114
+ color: $wac-green-color;
4115
+ }
4116
+ &.warning {
4117
+ color: $wac-orange-color;
4118
+ }
4119
+ &.danger {
4120
+ color: $wac-primary-button;
4121
+ }
4122
+ }
4123
+ }
4124
+
4125
+ &:hover {
4126
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4127
+ }
4128
+
4129
+ /*************************/
4130
+ /* Titre EXTERNE au bloc */
4131
+ /*************************/
4132
+ &__external {
4133
+ padding: 0;
4134
+ background: transparent;
4135
+ box-shadow: none;
4136
+ height: calc(100% - 60px);
4137
+ transition: none;
4138
+
4139
+ .wac-block__title {
4140
+ font-size: 1.875rem;
4141
+ margin-bottom: 1.5rem;
4142
+ margin-left: 10px;
4143
+ line-height: 1.5625rem;
4144
+ margin-top: 0.625rem;
4145
+ font-weight: 400;
4146
+ color: $wac-block-color;
4147
+ &.is-simple {
4148
+ text-transform: none;
4149
+ font-weight: 500;
4150
+ }
4151
+ }
4152
+
4153
+ .wac-block__content {
4154
+ background-color: $wac-block-color-background;
4155
+ padding: 1.875rem;
4156
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
4157
+ transition: none;
4158
+ height: 100%;
4159
+ &:hover {
4160
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4161
+ }
4132
4162
  }
4133
4163
 
4134
4164
  &:hover {
4135
- border-color: $wac-back-border-hover;
4136
- transition: border-color 0.3s ease-in-out;
4165
+ box-shadow: none;
4137
4166
  }
4138
4167
  }
4139
4168
  }
@@ -7008,7 +7037,7 @@ div.wac-field-input-search {
7008
7037
  &.remove-margin {
7009
7038
  margin-bottom: 0;
7010
7039
  }
7011
- &.is-danger {
7040
+ &.is-danger:not(.is-empty) {
7012
7041
  border-color: $wac-primary-button !important;
7013
7042
  }
7014
7043
  }
@@ -7328,72 +7357,43 @@ div.wac-field-input-search {
7328
7357
  padding: 0 10px!important;
7329
7358
  margin: 0!important;
7330
7359
  }
7331
- .indication {
7332
- position: relative;
7333
- top: auto;
7334
- left: auto;
7335
- right: auto;
7336
- padding: 8px 20px;
7337
- height: 40px;
7338
- display: flex;
7339
- align-items: center;
7340
- justify-content: center;
7341
- }
7342
- }
7343
- }
7344
- .wac-info {
7345
- display: inline-block;
7346
- width: 40px;
7347
- height: 40px;
7348
-
7349
- &__wrapper {
7350
- @include flexbox();
7351
- @include justify-content(center);
7352
- @include align-items(center);
7353
- width: 100%;
7354
- height: 100%;
7355
- position: relative;
7356
-
7357
- i {
7358
- font-size: 14px;
7359
- line-height: 25px;
7360
- color: $wac-second-color;
7361
- transition: color 0.3s ease-in-out;
7362
- }
7363
-
7364
- &__sublevel {
7365
- position: absolute;
7366
- width: 350px;
7367
- top: 13px;
7368
- left: 100%;
7369
- z-index: -1;
7370
- opacity: 0;
7371
- background-color: $wac-white;
7372
- border-radius: rem(3);
7373
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
7374
- visibility: hidden;
7375
- transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
7376
-
7377
- &__container {
7378
- padding: 15px 20px;
7379
- font-size: rem(14);
7380
- line-height: rem(25);
7381
- color: $wac-second-color;
7382
- }
7383
- }
7360
+ .indication {
7361
+ position: relative;
7362
+ top: auto;
7363
+ left: auto;
7364
+ right: auto;
7365
+ padding: 8px 20px;
7366
+ height: 40px;
7367
+ display: flex;
7368
+ align-items: center;
7369
+ justify-content: center;
7370
+ }
7371
+ }
7372
+ }
7373
+ .wac-image {
7374
+ width: 60px;
7375
+ height: 60px;
7384
7376
 
7385
- &:hover {
7386
- i {
7387
- color: $wac-input-active-color;
7388
- transition: color 0.3s ease-in-out;
7389
- }
7377
+ &__wrapper {
7378
+ @include flexbox();
7379
+ @include justify-content(center);
7380
+ @include align-items(center);
7381
+ width: 100%;
7382
+ height: 100%;
7383
+ border-radius: 3px;
7384
+ border: 1px solid $wac-border-light;
7385
+ background-position: center;
7386
+ background-size: contain;
7387
+ background-repeat: no-repeat;
7390
7388
 
7391
- .wac-info__wrapper__sublevel {
7392
- visibility: visible;
7393
- opacity: 1;
7394
- z-index: 2;
7395
- transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
7396
- }
7389
+ &.empty {
7390
+ background-color: $wac-gray-background;
7391
+ }
7392
+
7393
+ i {
7394
+ color: $wac-border-form;
7395
+ font-size: 25px;
7396
+ line-height: 23px;
7397
7397
  }
7398
7398
  }
7399
7399
  }
@@ -7429,134 +7429,140 @@ div.wac-field-input-search {
7429
7429
  }
7430
7430
  }
7431
7431
  }
7432
- .wac-breadcrumbs {
7432
+ .block-with-checkbox {
7433
7433
  width: 100%;
7434
7434
  display: flex;
7435
7435
  align-items: center;
7436
- padding: 0;
7437
- margin: 0 0 10px;
7436
+ background-color: $wac-white;
7437
+ box-shadow: 0px 2px 6px #0000000D;
7438
7438
  border-radius: 3px;
7439
-
7440
- @include media('<tablet') {
7441
- &:not(.no-responsive) {
7442
- max-width: 100%;
7443
- overflow: hidden;
7444
- .wac-breadcrumbs {
7445
- &__wrapper {
7446
- @include media('<tablet') {
7447
- width: auto;
7448
- overflow-x: scroll;
7449
- }
7450
- }
7451
- &__item {
7452
- @include media('<tablet') {
7453
- width: auto;
7454
- min-width: unset;
7455
- max-width: unset;
7456
- .name {
7457
- white-space: nowrap;
7458
- }
7459
- }
7460
- }
7461
- }
7462
- }
7439
+ margin: 0 0 15px;
7440
+ padding: 30px;
7441
+ border: 2px solid transparent;
7442
+ transition: .3s ease;
7443
+ opacity: .45;
7444
+ &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7445
+ border-color: $wac-input-active-color;
7446
+ opacity: 1!important;
7463
7447
  }
7464
-
7465
- &__wrapper {
7466
- width: 100%;
7467
- display: flex;
7448
+ &.firstWacRadioBLock:not(.disabled) {
7449
+ opacity: 1!important;
7450
+ }
7451
+ @include media('<tablet') {
7452
+ padding: 20px;
7453
+ flex-direction: column;
7468
7454
  align-items: center;
7455
+ justify-content: flex-start;
7469
7456
  }
7470
-
7471
- &__item {
7472
- width: 100%;
7473
- max-width: 50%;
7457
+ &__left {
7458
+ width: 30px;
7459
+ margin: 0 20px 0 0;
7474
7460
  display: flex;
7475
7461
  align-items: center;
7476
- justify-content: center;
7477
- position: relative;
7478
- padding: 10px;
7479
7462
  cursor: pointer;
7480
- &:before {
7481
- content: '';
7482
- display: block;
7483
- position: absolute;
7484
- bottom: -5px;
7485
- left: 50%;
7486
- transform: translateX(-50%);
7487
- width: calc(100% - 5px);
7488
- height: 3px;
7489
- background-color: $wac-round-breadcrumbs;
7463
+ @include media('<tablet') {
7464
+ margin: 0 0 20px;
7490
7465
  }
7491
- &.current, &.valid {
7466
+ }
7467
+ &__center {
7468
+ width: 100%;
7469
+ cursor: pointer;
7470
+ }
7471
+ &:hover:not(.disabled), &:focus:not(.disabled) {
7472
+ input + label {
7492
7473
  &:before {
7493
- background-color: $wac-wizishop-blue;
7494
- }
7495
- &:hover, &:focus {
7496
- .round {
7497
- background-color: $wac-wizishop-blue;
7498
- border-color: $wac-wizishop-blue;
7499
- > span, > i {
7500
- color: $wac-white;
7501
- }
7502
- }
7503
- .name {
7504
- color: $wac-wizishop-blue;
7505
- }
7474
+ border-color: $wac-input-active-color !important;
7506
7475
  }
7507
7476
  }
7477
+ }
7478
+ }
7508
7479
 
7509
-
7510
- &.current {
7480
+ .wac-radio-block {
7481
+ width: 22px!important;
7482
+ height: 22px;
7483
+ input {
7484
+ outline: 0 !important;
7485
+ display: none;
7486
+ & + label {
7487
+ margin: 0 30px 0 0;
7488
+ position: relative;
7489
+ cursor: pointer;
7490
+ display: block;
7491
+ width: 22px;
7492
+ height: 22px;
7493
+ padding: 0!important;
7511
7494
  &:before {
7512
- height: 5px;
7495
+ content: '';
7496
+ display: block;
7497
+ position: absolute;
7498
+ width: 22px;
7499
+ height: 22px;
7500
+ border: 1px solid $wac-border-form;
7501
+ border-radius: 23px;
7502
+ top: 0;
7503
+ left: 0;
7513
7504
  }
7514
- }
7515
- .round {
7516
- min-width: 30px;
7517
- height: 30px;
7518
- border-radius: 30px;
7519
- display: flex;
7520
- justify-content: center;
7521
- align-items: center;
7522
- border: 2px solid $wac-round-breadcrumbs;
7523
- background-color: $wac-round-breadcrumbs;
7524
- transition: .3s ease;
7525
- margin: 0 15px 0 0;
7526
- > span {
7527
- font-size: rem(12);
7528
- font-weight: 500;
7529
- color: $wac-second-color;
7530
- line-height: 1;
7505
+ &:after {
7506
+ content: "";
7507
+ display: block;
7508
+ position: absolute;
7509
+ width: 16px;
7510
+ height: 16px;
7511
+ border-radius: 23px;
7512
+ background: $wac-input-active-color;
7513
+ top: 50%;
7514
+ left: 50%;
7515
+ transform: translate(-50%, -50%);
7516
+ opacity: 0;
7531
7517
  }
7532
- > i {
7533
- font-size: rem(14);
7534
- color: $wac-wizishop-blue;
7518
+ &:before,
7519
+ &:after {
7520
+ outline: 0 !important;
7535
7521
  }
7536
- &.valid {
7537
- background-color: transparent;
7538
- border-color: $wac-wizishop-blue;
7539
- color: $wac-wizishop-blue;
7522
+ &:hover,
7523
+ &:focus {
7524
+ &:before {
7525
+ border-color: $wac-input-active-color !important;
7526
+ }
7540
7527
  }
7541
- &.current:not(.valid) {
7542
- background-color: $wac-wizishop-blue;
7543
- border-color: $wac-wizishop-blue;
7544
- > span, > i {
7545
- color: $wac-white;
7528
+ }
7529
+ &:hover {
7530
+ & + label {
7531
+ color: $wac-input-radio-color-active-label;
7532
+ &:before {
7533
+ border-color: $wac-input-active-color !important;
7534
+ }
7535
+ }
7536
+ &:not([disabled]) {
7537
+ & + label {
7538
+ &:before {
7539
+ border-color: $wac-input-active-color !important;
7540
+ }
7546
7541
  }
7547
7542
  }
7548
7543
  }
7549
- .name {
7550
- font-size: rem(14);
7551
- font-weight: 500;
7552
- color: $wac-second-color;
7553
- line-height: 1;
7554
- transition: .3s ease;
7555
- &.valid, &.current {
7556
- color: $wac-wizishop-blue;
7544
+ &:checked + label {
7545
+ color: $wac-input-radio-color-active-label;
7546
+ &:before {
7547
+ border-color: $wac-input-active-color!important;
7548
+ }
7549
+ &:after {
7550
+ opacity: 1;
7557
7551
  }
7558
7552
  }
7559
7553
  }
7554
+
7555
+
7556
+ .wac-radio__row {
7557
+ min-width: 100%;
7558
+ margin: 0;
7559
+ height: 22px;
7560
+ }
7561
+
7562
+ label {
7563
+ padding-left: 7px;
7564
+ margin-right: 0;
7565
+ }
7560
7566
  }
7561
7567
  .wac-pagination {
7562
7568
  width: 100%;