@wizishop/angular-components 0.0.228 → 0.0.229

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,227 +768,73 @@ $wac-subtitle-color: #7A87A1!default;
768
768
  }
769
769
  }
770
770
  }
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%;
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;
794
786
  }
795
787
  }
796
-
797
- .icon + .wac-alert-popup__close + .wac-alert-popup__text {
798
- width: auto;
799
- }
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
- }
788
+ i {
789
+ color: $wac-green-color;
859
790
  }
860
-
791
+ }
792
+ &.warning {
793
+ background-color: transparentize($wac-primary-button, 0.85);
861
794
  p {
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;
795
+ color: $wac-p-alert-color-warning;
796
+ > * {
797
+ color: $wac-p-alert-color-warning;
876
798
  }
877
799
  }
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
- }
800
+ i {
801
+ color: $wac-primary-button;
887
802
  }
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;
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;
896
810
  }
897
811
  }
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
- }
812
+ i {
813
+ color: $wac-orange-color;
934
814
  }
935
815
  }
936
-
937
- &__title {
938
- font-size: rem(24);
939
- line-height: 1.4;
940
- margin: 0;
941
- font-weight: 700;
942
- text-align: center;
943
- width: 100%;
944
- }
945
-
946
- &__text {
947
- font-size: rem(16);
948
- font-weight: 500;
949
- text-align: center;
816
+ p {
950
817
  width: 100%;
818
+ font-size: rem(14);
819
+ line-height: rem(25);
951
820
  margin: 0;
952
- }
953
-
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%);
821
+ padding: 0;
822
+ color: $wac-p-alert-color-default;
823
+ > * {
824
+ color: $wac-p-alert-color-default;
989
825
  }
990
826
  }
827
+ i {
828
+ width: auto;
829
+ margin: 0 10px 0 0;
830
+ color: inherit;
831
+ font-size: rem(14);
832
+ line-height: rem(25);
833
+ }
991
834
 
835
+ .wac-button i {
836
+ color: $wac-white;
837
+ }
992
838
  }
993
839
  .selected-list {
994
840
  width: 100%;
@@ -1204,134 +1050,140 @@ $wac-subtitle-color: #7A87A1!default;
1204
1050
  border-bottom-style: dashed;
1205
1051
  }
1206
1052
  }
1207
- .wac-breadcrumbs {
1053
+ .block-with-checkbox {
1208
1054
  width: 100%;
1209
1055
  display: flex;
1210
1056
  align-items: center;
1211
- padding: 0;
1212
- margin: 0 0 10px;
1057
+ background-color: $wac-white;
1058
+ box-shadow: 0px 2px 6px #0000000D;
1213
1059
  border-radius: 3px;
1214
-
1215
- @include media('<tablet') {
1216
- &:not(.no-responsive) {
1217
- max-width: 100%;
1218
- overflow: hidden;
1219
- .wac-breadcrumbs {
1220
- &__wrapper {
1221
- @include media('<tablet') {
1222
- width: auto;
1223
- overflow-x: scroll;
1224
- }
1225
- }
1226
- &__item {
1227
- @include media('<tablet') {
1228
- width: auto;
1229
- min-width: unset;
1230
- max-width: unset;
1231
- .name {
1232
- white-space: nowrap;
1233
- }
1234
- }
1235
- }
1236
- }
1237
- }
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;
1238
1068
  }
1239
-
1240
- &__wrapper {
1241
- width: 100%;
1242
- display: flex;
1069
+ &.firstWacRadioBLock:not(.disabled) {
1070
+ opacity: 1!important;
1071
+ }
1072
+ @include media('<tablet') {
1073
+ padding: 20px;
1074
+ flex-direction: column;
1243
1075
  align-items: center;
1076
+ justify-content: flex-start;
1244
1077
  }
1245
-
1246
- &__item {
1247
- width: 100%;
1248
- max-width: 50%;
1078
+ &__left {
1079
+ width: 30px;
1080
+ margin: 0 20px 0 0;
1249
1081
  display: flex;
1250
1082
  align-items: center;
1251
- justify-content: center;
1252
- position: relative;
1253
- padding: 10px;
1254
1083
  cursor: pointer;
1255
- &:before {
1256
- content: '';
1257
- display: block;
1258
- position: absolute;
1259
- bottom: -5px;
1260
- left: 50%;
1261
- transform: translateX(-50%);
1262
- width: calc(100% - 5px);
1263
- height: 3px;
1264
- background-color: $wac-round-breadcrumbs;
1084
+ @include media('<tablet') {
1085
+ margin: 0 0 20px;
1265
1086
  }
1266
- &.current, &.valid {
1087
+ }
1088
+ &__center {
1089
+ width: 100%;
1090
+ cursor: pointer;
1091
+ }
1092
+ &:hover:not(.disabled), &:focus:not(.disabled) {
1093
+ input + label {
1267
1094
  &:before {
1268
- background-color: $wac-wizishop-blue;
1269
- }
1270
- &:hover, &:focus {
1271
- .round {
1272
- background-color: $wac-wizishop-blue;
1273
- border-color: $wac-wizishop-blue;
1274
- > span, > i {
1275
- color: $wac-white;
1276
- }
1277
- }
1278
- .name {
1279
- color: $wac-wizishop-blue;
1280
- }
1095
+ border-color: $wac-input-active-color !important;
1281
1096
  }
1282
1097
  }
1098
+ }
1099
+ }
1283
1100
 
1284
-
1285
- &.current {
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;
1286
1115
  &:before {
1287
- height: 5px;
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;
1288
1125
  }
1289
- }
1290
- .round {
1291
- min-width: 30px;
1292
- height: 30px;
1293
- border-radius: 30px;
1294
- display: flex;
1295
- justify-content: center;
1296
- align-items: center;
1297
- border: 2px solid $wac-round-breadcrumbs;
1298
- background-color: $wac-round-breadcrumbs;
1299
- transition: .3s ease;
1300
- margin: 0 15px 0 0;
1301
- > span {
1302
- font-size: rem(12);
1303
- font-weight: 500;
1304
- color: $wac-second-color;
1305
- line-height: 1;
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;
1306
1138
  }
1307
- > i {
1308
- font-size: rem(14);
1309
- color: $wac-wizishop-blue;
1139
+ &:before,
1140
+ &:after {
1141
+ outline: 0 !important;
1310
1142
  }
1311
- &.valid {
1312
- background-color: transparent;
1313
- border-color: $wac-wizishop-blue;
1314
- color: $wac-wizishop-blue;
1143
+ &:hover,
1144
+ &:focus {
1145
+ &:before {
1146
+ border-color: $wac-input-active-color !important;
1147
+ }
1148
+ }
1149
+ }
1150
+ &:hover {
1151
+ & + label {
1152
+ color: $wac-input-radio-color-active-label;
1153
+ &:before {
1154
+ border-color: $wac-input-active-color !important;
1155
+ }
1315
1156
  }
1316
- &.current:not(.valid) {
1317
- background-color: $wac-wizishop-blue;
1318
- border-color: $wac-wizishop-blue;
1319
- > span, > i {
1320
- color: $wac-white;
1157
+ &:not([disabled]) {
1158
+ & + label {
1159
+ &:before {
1160
+ border-color: $wac-input-active-color !important;
1161
+ }
1321
1162
  }
1322
1163
  }
1323
1164
  }
1324
- .name {
1325
- font-size: rem(14);
1326
- font-weight: 500;
1327
- color: $wac-second-color;
1328
- line-height: 1;
1329
- transition: .3s ease;
1330
- &.valid, &.current {
1331
- color: $wac-wizishop-blue;
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;
1332
1172
  }
1333
1173
  }
1334
1174
  }
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
+ }
1335
1187
  }
1336
1188
  .wac-settings {
1337
1189
  width: 40px;
@@ -3940,73 +3792,227 @@ span.wac-tooltip {
3940
3792
  border-radius: 3px;
3941
3793
  }
3942
3794
  }
3943
- .wac-alert {
3944
- width: 100%;
3945
- background-color: transparentize($wac-link-color, 0.85);
3946
- color: $wac-link-color;
3947
- border-radius: 3px;
3948
- display: flex;
3949
- flex-wrap: nowrap;
3950
- justify-content: space-between;
3951
- padding: 20px;
3952
- &.success {
3953
- background-color: transparentize($wac-green-color, 0.85);
3954
- p {
3955
- color: $wac-p-alert-color-success;
3956
- > * {
3957
- color: $wac-p-alert-color-success;
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%;
3958
3818
  }
3959
3819
  }
3960
- i {
3961
- color: $wac-green-color;
3820
+
3821
+ .icon + .wac-alert-popup__close + .wac-alert-popup__text {
3822
+ width: auto;
3962
3823
  }
3963
- }
3964
- &.warning {
3965
- background-color: transparentize($wac-primary-button, 0.85);
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
+
3966
3885
  p {
3967
- color: $wac-p-alert-color-warning;
3968
- > * {
3969
- color: $wac-p-alert-color-warning;
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;
3970
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%);
3971
3993
  }
3972
3994
  i {
3973
- color: $wac-primary-button;
3995
+ font-size: rem(20);
3996
+ color: $white;
3974
3997
  }
3975
- }
3976
- &.alert {
3977
- background-color: transparentize($wac-orange-color, 0.85);
3978
- p {
3979
- color: $wac-p-alert-color-alert;
3980
- > * {
3981
- color: $wac-p-alert-color-alert;
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%);
3982
4002
  }
3983
4003
  }
3984
- i {
3985
- color: $wac-orange-color;
4004
+ .is-danger & {
4005
+ background-color: darken($wac-primary-button, 10%);
4006
+ &:hover, &:focus {
4007
+ background-color: darken($wac-primary-button, 15%);
4008
+ }
3986
4009
  }
3987
- }
3988
- p {
3989
- width: 100%;
3990
- font-size: rem(14);
3991
- line-height: rem(25);
3992
- margin: 0;
3993
- padding: 0;
3994
- color: $wac-p-alert-color-default;
3995
- > * {
3996
- color: $wac-p-alert-color-default;
4010
+ .fullsize & {
4011
+ top: 50%;
4012
+ transform: translateY(-50%);
3997
4013
  }
3998
4014
  }
3999
- i {
4000
- width: auto;
4001
- margin: 0 10px 0 0;
4002
- color: inherit;
4003
- font-size: rem(14);
4004
- line-height: rem(25);
4005
- }
4006
4015
 
4007
- .wac-button i {
4008
- color: $wac-white;
4009
- }
4010
4016
  }
4011
4017
  .wac-upload {
4012
4018
  width: auto;
@@ -4171,7 +4177,7 @@ span.wac-tooltip {
4171
4177
 
4172
4178
  &.is-green.opacity {
4173
4179
  background-color: $wac-tag-success-light;
4174
- border-color: $wac-tag-success-light;
4180
+ border-color: transparent!important;
4175
4181
  transition: .3s;
4176
4182
  i {
4177
4183
  color: $wac-tag-success;
@@ -4192,7 +4198,7 @@ span.wac-tooltip {
4192
4198
 
4193
4199
  &.is-blue.opacity {
4194
4200
  background-color: $wac-wizishop-blue-button-light;
4195
- border-color: $wac-wizishop-blue-button-light;
4201
+ border-color: transparent!important;
4196
4202
  transition: .3s;
4197
4203
  i {
4198
4204
  color: $wac-wizishop-blue-button;
@@ -4538,7 +4544,7 @@ span.wac-tooltip {
4538
4544
 
4539
4545
  &.opacity {
4540
4546
  background-color: $wac-wizishop-blue-button-light;
4541
- border-color: $wac-wizishop-blue-button-light;
4547
+ border-color: transparent!important;
4542
4548
 
4543
4549
  i {
4544
4550
  color: $wac-wizishop-blue-button;
@@ -4962,7 +4968,7 @@ span.wac-tooltip {
4962
4968
 
4963
4969
  &.opacity {
4964
4970
  background-color: $wac-primary-button-light;
4965
- border-color: $wac-primary-button-light;
4971
+ border-color: transparent!important;
4966
4972
  &:hover, &:focus {
4967
4973
  background-color: $wac-primary-button;
4968
4974
  border-color: $wac-primary-button;
@@ -5077,7 +5083,7 @@ span.wac-tooltip {
5077
5083
  }
5078
5084
  &.opacity {
5079
5085
  background-color: $wac-green-opacity;
5080
- border-color: $wac-green-opacity;
5086
+ border-color: transparent!important;
5081
5087
  &:hover, &:focus {
5082
5088
  background-color: $wac-green-color;
5083
5089
  border-color: $wac-green-color;
@@ -5168,6 +5174,7 @@ span.wac-tooltip {
5168
5174
  &.opacity {
5169
5175
  min-width: rem(40);
5170
5176
  min-height: rem(40);
5177
+ border-color: transparent!important;
5171
5178
 
5172
5179
  &.alone {
5173
5180
  display: flex;
@@ -7422,140 +7429,134 @@ div.wac-field-input-search {
7422
7429
  }
7423
7430
  }
7424
7431
  }
7425
- .block-with-checkbox {
7432
+ .wac-breadcrumbs {
7426
7433
  width: 100%;
7427
7434
  display: flex;
7428
7435
  align-items: center;
7429
- background-color: $wac-white;
7430
- box-shadow: 0px 2px 6px #0000000D;
7436
+ padding: 0;
7437
+ margin: 0 0 10px;
7431
7438
  border-radius: 3px;
7432
- margin: 0 0 15px;
7433
- padding: 30px;
7434
- border: 2px solid transparent;
7435
- transition: .3s ease;
7436
- opacity: .45;
7437
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7438
- border-color: $wac-input-active-color;
7439
- opacity: 1!important;
7440
- }
7441
- &.firstWacRadioBLock:not(.disabled) {
7442
- opacity: 1!important;
7443
- }
7439
+
7444
7440
  @include media('<tablet') {
7445
- padding: 20px;
7446
- flex-direction: column;
7447
- align-items: center;
7448
- justify-content: flex-start;
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
+ }
7449
7463
  }
7450
- &__left {
7451
- width: 30px;
7452
- margin: 0 20px 0 0;
7464
+
7465
+ &__wrapper {
7466
+ width: 100%;
7453
7467
  display: flex;
7454
7468
  align-items: center;
7455
- cursor: pointer;
7456
- @include media('<tablet') {
7457
- margin: 0 0 20px;
7458
- }
7459
7469
  }
7460
- &__center {
7470
+
7471
+ &__item {
7461
7472
  width: 100%;
7473
+ max-width: 50%;
7474
+ display: flex;
7475
+ align-items: center;
7476
+ justify-content: center;
7477
+ position: relative;
7478
+ padding: 10px;
7462
7479
  cursor: pointer;
7463
- }
7464
- &:hover:not(.disabled), &:focus:not(.disabled) {
7465
- input + label {
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;
7490
+ }
7491
+ &.current, &.valid {
7466
7492
  &:before {
7467
- border-color: $wac-input-active-color !important;
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
+ }
7468
7506
  }
7469
7507
  }
7470
- }
7471
- }
7472
7508
 
7473
- .wac-radio-block {
7474
- width: 22px!important;
7475
- height: 22px;
7476
- input {
7477
- outline: 0 !important;
7478
- display: none;
7479
- & + label {
7480
- margin: 0 30px 0 0;
7481
- position: relative;
7482
- cursor: pointer;
7483
- display: block;
7484
- width: 22px;
7485
- height: 22px;
7486
- padding: 0!important;
7509
+
7510
+ &.current {
7487
7511
  &:before {
7488
- content: '';
7489
- display: block;
7490
- position: absolute;
7491
- width: 22px;
7492
- height: 22px;
7493
- border: 1px solid $wac-border-form;
7494
- border-radius: 23px;
7495
- top: 0;
7496
- left: 0;
7497
- }
7498
- &:after {
7499
- content: "";
7500
- display: block;
7501
- position: absolute;
7502
- width: 16px;
7503
- height: 16px;
7504
- border-radius: 23px;
7505
- background: $wac-input-active-color;
7506
- top: 50%;
7507
- left: 50%;
7508
- transform: translate(-50%, -50%);
7509
- opacity: 0;
7512
+ height: 5px;
7510
7513
  }
7511
- &:before,
7512
- &:after {
7513
- outline: 0 !important;
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;
7514
7531
  }
7515
- &:hover,
7516
- &:focus {
7517
- &:before {
7518
- border-color: $wac-input-active-color !important;
7519
- }
7532
+ > i {
7533
+ font-size: rem(14);
7534
+ color: $wac-wizishop-blue;
7520
7535
  }
7521
- }
7522
- &:hover {
7523
- & + label {
7524
- color: $wac-input-radio-color-active-label;
7525
- &:before {
7526
- border-color: $wac-input-active-color !important;
7527
- }
7536
+ &.valid {
7537
+ background-color: transparent;
7538
+ border-color: $wac-wizishop-blue;
7539
+ color: $wac-wizishop-blue;
7528
7540
  }
7529
- &:not([disabled]) {
7530
- & + label {
7531
- &:before {
7532
- border-color: $wac-input-active-color !important;
7533
- }
7541
+ &.current:not(.valid) {
7542
+ background-color: $wac-wizishop-blue;
7543
+ border-color: $wac-wizishop-blue;
7544
+ > span, > i {
7545
+ color: $wac-white;
7534
7546
  }
7535
7547
  }
7536
7548
  }
7537
- &:checked + label {
7538
- color: $wac-input-radio-color-active-label;
7539
- &:before {
7540
- border-color: $wac-input-active-color!important;
7541
- }
7542
- &:after {
7543
- opacity: 1;
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
7557
  }
7545
7558
  }
7546
7559
  }
7547
-
7548
-
7549
- .wac-radio__row {
7550
- min-width: 100%;
7551
- margin: 0;
7552
- height: 22px;
7553
- }
7554
-
7555
- label {
7556
- padding-left: 7px;
7557
- margin-right: 0;
7558
- }
7559
7560
  }
7560
7561
  .wac-pagination {
7561
7562
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.228",
3
+ "version": "0.0.229",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",