@wizishop/angular-components 0.0.155 → 0.0.156

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.
@@ -111,6 +111,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
111
111
  $wac-background-indication: #EDEFF2!default;
112
112
 
113
113
  $wac-grey: #F5F8FA!default;
114
+ $wac-round-breadcrumbs: #DEE2ED!default;
114
115
  $wac-breadcrumbs-color: #647391!default;
115
116
  $wac-subtitle-color: #7A87A1!default;
116
117
  .zindexToggle {
@@ -3881,8 +3882,22 @@ span.wac-tooltip {
3881
3882
  justify-content: center;
3882
3883
  position: relative;
3883
3884
  padding: 10px;
3884
- &:not(.valid) {
3885
- cursor: pointer;
3885
+ cursor: pointer;
3886
+ &:before {
3887
+ content: '';
3888
+ display: block;
3889
+ position: absolute;
3890
+ bottom: -5px;
3891
+ left: 50%;
3892
+ transform: translateX(-50%);
3893
+ width: calc(100% - 5px);
3894
+ height: 3px;
3895
+ background-color: $wac-round-breadcrumbs;
3896
+ }
3897
+ &.current, &.valid {
3898
+ &:before {
3899
+ background-color: $wac-wizishop-blue;
3900
+ }
3886
3901
  }
3887
3902
  @include media('<desktop') {
3888
3903
  width: auto;
@@ -3894,24 +3909,24 @@ span.wac-tooltip {
3894
3909
  }
3895
3910
  }
3896
3911
  .round {
3897
- min-width: 40px;
3898
- height: 40px;
3899
- border-radius: 40px;
3912
+ min-width: 30px;
3913
+ height: 30px;
3914
+ border-radius: 30px;
3900
3915
  display: flex;
3901
3916
  justify-content: center;
3902
3917
  align-items: center;
3903
- border: 2px solid $wac-grey;
3904
- background-color: $wac-grey;
3918
+ border: 2px solid $wac-round-breadcrumbs;
3919
+ background-color: $wac-round-breadcrumbs;
3905
3920
  transition: .3s ease;
3906
3921
  margin: 0 15px 0 0;
3907
3922
  > span {
3908
- font-size: rem(16);
3909
- font-weight: 700;
3910
- color: $wac-breadcrumbs-color;
3923
+ font-size: rem(12);
3924
+ font-weight: 500;
3925
+ color: $wac-second-color;
3911
3926
  line-height: 1;
3912
3927
  }
3913
3928
  > i {
3914
- font-size: rem(18);
3929
+ font-size: rem(14);
3915
3930
  color: $wac-wizishop-blue;
3916
3931
  }
3917
3932
  &.valid {
@@ -3928,29 +3943,15 @@ span.wac-tooltip {
3928
3943
  }
3929
3944
  }
3930
3945
  .name {
3931
- font-size: rem(16);
3932
- font-weight: 700;
3933
- color: $wac-breadcrumbs-color;
3946
+ font-size: rem(14);
3947
+ font-weight: 500;
3948
+ color: $wac-second-color;
3934
3949
  line-height: 1;
3935
3950
  transition: .3s ease;
3936
3951
  &.valid, &.current {
3937
3952
  color: $wac-wizishop-blue;
3938
3953
  }
3939
3954
  }
3940
- > i {
3941
- position: absolute;
3942
- top: 50%;
3943
- right: 0;
3944
- transform: translateY(-50%);
3945
- font-size: rem(18);
3946
- color: $wac-breadcrumbs-color;
3947
- line-height: 1;
3948
- }
3949
- &:last-child {
3950
- > i {
3951
- display: none;
3952
- }
3953
- }
3954
3955
  &:hover:not(.valid), &:focus:not(.valid) {
3955
3956
  .round {
3956
3957
  background-color: $wac-wizishop-blue;
@@ -3959,6 +3960,9 @@ span.wac-tooltip {
3959
3960
  color: $wac-white;
3960
3961
  }
3961
3962
  }
3963
+ .name {
3964
+ color: $wac-wizishop-blue;
3965
+ }
3962
3966
  }
3963
3967
  }
3964
3968
  }
@@ -4228,7 +4228,7 @@
4228
4228
  BreadcrumbsComponent.decorators = [
4229
4229
  { type: i0.Component, args: [{
4230
4230
  selector: 'wac-breadcrumbs',
4231
- template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid}\">{{ b.name }}</div>\n <i class=\"fas fa-chevron-right\"></i>\n </div>\n </div>\n</div>\n"
4231
+ template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\">{{ b.name }}</div>\n </div>\n </div>\n</div>\n"
4232
4232
  },] }
4233
4233
  ];
4234
4234
  BreadcrumbsComponent.ctorParameters = function () { return []; };