@wizishop/angular-components 14.3.12 → 14.3.14

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.
@@ -617,6 +617,135 @@ wac-block {
617
617
  margin-right: 0;
618
618
  }
619
619
  }
620
+ .wac-breadcrumbs {
621
+ width: 100%;
622
+ display: flex;
623
+ align-items: center;
624
+ padding: 0;
625
+ margin: 0 0 10px;
626
+ border-radius: 3px;
627
+
628
+ @include media('<tablet') {
629
+ &:not(.no-responsive) {
630
+ max-width: 100%;
631
+ overflow: hidden;
632
+ .wac-breadcrumbs {
633
+ &__wrapper {
634
+ @include media('<tablet') {
635
+ width: auto;
636
+ overflow-x: scroll;
637
+ }
638
+ }
639
+ &__item {
640
+ @include media('<tablet') {
641
+ width: auto;
642
+ min-width: unset;
643
+ max-width: unset;
644
+ .name {
645
+ white-space: nowrap;
646
+ }
647
+ }
648
+ }
649
+ }
650
+ }
651
+ }
652
+
653
+ &__wrapper {
654
+ width: 100%;
655
+ display: flex;
656
+ align-items: center;
657
+ }
658
+
659
+ &__item {
660
+ width: 100%;
661
+ max-width: 50%;
662
+ display: flex;
663
+ align-items: center;
664
+ justify-content: center;
665
+ position: relative;
666
+ padding: 10px;
667
+ cursor: pointer;
668
+ &:before {
669
+ content: '';
670
+ display: block;
671
+ position: absolute;
672
+ bottom: -5px;
673
+ left: 50%;
674
+ transform: translateX(-50%);
675
+ width: calc(100% - 5px);
676
+ height: 3px;
677
+ background-color: $wac-round-breadcrumbs;
678
+ }
679
+ &.current, &.valid {
680
+ &:before {
681
+ background-color: $wac-wizishop-blue;
682
+ }
683
+ &:hover, &:focus {
684
+ .round {
685
+ background-color: $wac-wizishop-blue;
686
+ border-color: $wac-wizishop-blue;
687
+ > span, > i {
688
+ color: $wac-white;
689
+ }
690
+ }
691
+ .name {
692
+ color: $wac-wizishop-blue;
693
+ }
694
+ }
695
+ }
696
+
697
+
698
+ &.current {
699
+ &:before {
700
+ height: 5px;
701
+ }
702
+ }
703
+ .round {
704
+ min-width: 30px;
705
+ height: 30px;
706
+ border-radius: 30px;
707
+ display: flex;
708
+ justify-content: center;
709
+ align-items: center;
710
+ border: 2px solid $wac-round-breadcrumbs;
711
+ background-color: $wac-round-breadcrumbs;
712
+ transition: .3s ease;
713
+ margin: 0 15px 0 0;
714
+ > span {
715
+ font-size: rem(12);
716
+ font-weight: 500;
717
+ color: $wac-second-color;
718
+ line-height: 1;
719
+ }
720
+ > i {
721
+ font-size: rem(14);
722
+ color: $wac-wizishop-blue;
723
+ }
724
+ &.valid {
725
+ background-color: transparent;
726
+ border-color: $wac-wizishop-blue;
727
+ color: $wac-wizishop-blue;
728
+ }
729
+ &.current:not(.valid) {
730
+ background-color: $wac-wizishop-blue;
731
+ border-color: $wac-wizishop-blue;
732
+ > span, > i {
733
+ color: $wac-white;
734
+ }
735
+ }
736
+ }
737
+ .name {
738
+ font-size: rem(14);
739
+ font-weight: 500;
740
+ color: $wac-second-color;
741
+ line-height: 1;
742
+ transition: .3s ease;
743
+ &.valid, &.current {
744
+ color: $wac-wizishop-blue;
745
+ }
746
+ }
747
+ }
748
+ }
620
749
  .wac-button {
621
750
  @include flexbox();
622
751
  @include justify-content(center);
@@ -1841,183 +1970,54 @@ wac-block {
1841
1970
  }
1842
1971
  }
1843
1972
  }
1844
- .wac-breadcrumbs {
1845
- width: 100%;
1846
- display: flex;
1847
- align-items: center;
1848
- padding: 0;
1849
- margin: 0 0 10px;
1850
- border-radius: 3px;
1851
-
1852
- @include media('<tablet') {
1853
- &:not(.no-responsive) {
1854
- max-width: 100%;
1855
- overflow: hidden;
1856
- .wac-breadcrumbs {
1857
- &__wrapper {
1858
- @include media('<tablet') {
1859
- width: auto;
1860
- overflow-x: scroll;
1861
- }
1862
- }
1863
- &__item {
1864
- @include media('<tablet') {
1865
- width: auto;
1866
- min-width: unset;
1867
- max-width: unset;
1868
- .name {
1869
- white-space: nowrap;
1870
- }
1871
- }
1872
- }
1973
+ .wac-calendar {
1974
+ position: relative;
1975
+ margin: 0 0 20px;
1976
+ width: 268px;
1977
+ &--open {
1978
+ z-index: 9;
1979
+ .wac-calendar {
1980
+ &__absolute {
1981
+ visibility: visible;
1982
+ opacity: 1;
1983
+ transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
1873
1984
  }
1874
1985
  }
1875
1986
  }
1876
-
1877
- &__wrapper {
1878
- width: 100%;
1879
- display: flex;
1880
- align-items: center;
1881
- }
1882
-
1883
- &__item {
1884
- width: 100%;
1885
- max-width: 50%;
1987
+ &--edit {
1886
1988
  display: flex;
1989
+ justify-content: flex-start;
1887
1990
  align-items: center;
1888
- justify-content: center;
1889
- position: relative;
1890
- padding: 10px;
1891
- cursor: pointer;
1892
- &:before {
1893
- content: '';
1894
- display: block;
1895
- position: absolute;
1896
- bottom: -5px;
1897
- left: 50%;
1898
- transform: translateX(-50%);
1899
- width: calc(100% - 5px);
1900
- height: 3px;
1901
- background-color: $wac-round-breadcrumbs;
1902
- }
1903
- &.current, &.valid {
1904
- &:before {
1905
- background-color: $wac-wizishop-blue;
1906
- }
1907
- &:hover, &:focus {
1908
- .round {
1909
- background-color: $wac-wizishop-blue;
1910
- border-color: $wac-wizishop-blue;
1911
- > span, > i {
1912
- color: $wac-white;
1913
- }
1914
- }
1915
- .name {
1916
- color: $wac-wizishop-blue;
1917
- }
1991
+ align-content: center;
1992
+ & > * {
1993
+ display: inline-block;
1994
+ &:nth-child(2) {
1995
+ margin: 0 10px;
1918
1996
  }
1919
1997
  }
1920
-
1921
-
1922
- &.current {
1923
- &:before {
1924
- height: 5px;
1925
- }
1998
+ }
1999
+ &--no-margin {
2000
+ margin: 0;
2001
+ .wac-calendar__autoHide {
2002
+ margin: 0;
1926
2003
  }
1927
- .round {
1928
- min-width: 30px;
1929
- height: 30px;
1930
- border-radius: 30px;
2004
+ }
2005
+ &__label {
2006
+ font-size: rem(14) !important;
2007
+ line-height: rem(16) !important;
2008
+ margin: 0 0 10px !important;
2009
+ color: $wac-color-text-grey !important;
2010
+ cursor: pointer;
2011
+ }
2012
+ &__autoHide {
2013
+ max-width: 300px;
2014
+ position: relative;
2015
+ }
2016
+ &__wrapper {
2017
+ &__input {
2018
+ border-radius: 3px;
1931
2019
  display: flex;
1932
- justify-content: center;
1933
- align-items: center;
1934
- border: 2px solid $wac-round-breadcrumbs;
1935
- background-color: $wac-round-breadcrumbs;
1936
- transition: .3s ease;
1937
- margin: 0 15px 0 0;
1938
- > span {
1939
- font-size: rem(12);
1940
- font-weight: 500;
1941
- color: $wac-second-color;
1942
- line-height: 1;
1943
- }
1944
- > i {
1945
- font-size: rem(14);
1946
- color: $wac-wizishop-blue;
1947
- }
1948
- &.valid {
1949
- background-color: transparent;
1950
- border-color: $wac-wizishop-blue;
1951
- color: $wac-wizishop-blue;
1952
- }
1953
- &.current:not(.valid) {
1954
- background-color: $wac-wizishop-blue;
1955
- border-color: $wac-wizishop-blue;
1956
- > span, > i {
1957
- color: $wac-white;
1958
- }
1959
- }
1960
- }
1961
- .name {
1962
- font-size: rem(14);
1963
- font-weight: 500;
1964
- color: $wac-second-color;
1965
- line-height: 1;
1966
- transition: .3s ease;
1967
- &.valid, &.current {
1968
- color: $wac-wizishop-blue;
1969
- }
1970
- }
1971
- }
1972
- }
1973
- .wac-calendar {
1974
- position: relative;
1975
- margin: 0 0 20px;
1976
- width: 268px;
1977
- &--open {
1978
- z-index: 9;
1979
- .wac-calendar {
1980
- &__absolute {
1981
- visibility: visible;
1982
- opacity: 1;
1983
- transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
1984
- }
1985
- }
1986
- }
1987
- &--edit {
1988
- display: flex;
1989
- justify-content: flex-start;
1990
- align-items: center;
1991
- align-content: center;
1992
- & > * {
1993
- display: inline-block;
1994
- &:nth-child(2) {
1995
- margin: 0 10px;
1996
- }
1997
- }
1998
- }
1999
- &--no-margin {
2000
- margin: 0;
2001
- .wac-calendar__autoHide {
2002
- margin: 0;
2003
- }
2004
- }
2005
- &__label {
2006
- font-size: rem(14) !important;
2007
- line-height: rem(16) !important;
2008
- margin: 0 0 10px !important;
2009
- color: $wac-color-text-grey !important;
2010
- cursor: pointer;
2011
- }
2012
- &__autoHide {
2013
- max-width: 300px;
2014
- position: relative;
2015
- }
2016
- &__wrapper {
2017
- &__input {
2018
- border-radius: 3px;
2019
- display: flex;
2020
- justify-content: flex-start;
2020
+ justify-content: flex-start;
2021
2021
  align-items: center;
2022
2022
  align-content: center;
2023
2023
  min-width: 240px;
@@ -3555,26 +3555,32 @@ wac-block {
3555
3555
  align-items: flex-start;
3556
3556
  justify-content: flex-start;
3557
3557
  font-family: 'Arial', sans-serif;
3558
+ overflow: hidden;
3558
3559
  &__url {
3559
3560
  width: 100%;
3560
3561
  white-space: nowrap;
3561
3562
  text-overflow: ellipsis;
3563
+ overflow: hidden;
3562
3564
  color: $wac-google-preview-url;
3563
3565
  font-size: rem(14);
3564
3566
  margin: 0 0 10px;
3565
3567
  line-height: rem(16);
3566
3568
  }
3567
3569
  &__title {
3570
+ width: 100%;
3568
3571
  color: $wac-google-preview-title;
3569
3572
  font-size: rem(20);
3570
3573
  line-height: rem(22);
3571
3574
  text-overflow: ellipsis;
3572
3575
  white-space: nowrap;
3576
+ overflow: hidden;
3573
3577
  margin: 0 0 rem(12);
3574
3578
  }
3575
3579
  &__description {
3580
+ width: 100%;
3576
3581
  font-size: rem(14);
3577
3582
  line-height: rem(24);
3583
+ overflow: hidden;
3578
3584
  color: $wac-google-preview-description;
3579
3585
  margin: 0;
3580
3586
  }
@@ -5549,82 +5555,6 @@ wac-optional-disable-container {
5549
5555
  }
5550
5556
  }
5551
5557
  }
5552
- .wac-tab {
5553
- &__wrapper {
5554
- position: relative;
5555
- @include flexbox();
5556
- margin-bottom: 30px;
5557
-
5558
- &__tab {
5559
- position: relative;
5560
- font-size: 14px;
5561
- line-height: 25px;
5562
- color: $wac-secondary-color;
5563
-
5564
- &:hover {
5565
- color: $wac-main-text;
5566
- transition: color 0.3s ease-in-out;
5567
- }
5568
-
5569
- &:not(:last-child) {
5570
- margin-right: 30px;
5571
- }
5572
-
5573
- &:after {
5574
- position: absolute;
5575
- width: 0;
5576
- height: 2px;
5577
- bottom: -5px;
5578
- left: 0;
5579
- content: '';
5580
- background-color: $wac-input-active-color;
5581
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
5582
- }
5583
-
5584
- &--selected {
5585
- color: $wac-main-text;
5586
-
5587
- &:after {
5588
- width: 100%;
5589
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
5590
- }
5591
- }
5592
- }
5593
- }
5594
-
5595
- &--underline {
5596
- .wac-tab__wrapper:before {
5597
- position: absolute;
5598
- width: 100%;
5599
- height: 1px;
5600
- bottom: -5px;
5601
- left: 0;
5602
- content: '';
5603
- background-color: $wac-border-form;
5604
- }
5605
- }
5606
-
5607
- &--button {
5608
- .wac-tab__wrapper__tab {
5609
- background-color: $wac-button-tab-background;
5610
- padding: 12px 20px;
5611
- font-size: rem(14);
5612
- line-height: rem(16);
5613
- white-space: nowrap;
5614
- color: $second-color;
5615
- margin: 0 rem(2) 0 0;
5616
- border-radius: 3px;
5617
- transition: .3s ease;
5618
- &--selected, &:hover, &:focus {
5619
- background-color: $wac-wizishop-blue;
5620
- color: $white;
5621
- }
5622
- &:after {
5623
- display: none;
5624
- }
5625
- }
5626
- }
5627
- }
5628
5558
 
5629
5559
  .wac-switch {
5630
5560
  input {
@@ -5783,112 +5713,79 @@ wac-optional-disable-container {
5783
5713
  }
5784
5714
  }
5785
5715
  }
5786
- .wac-tag {
5787
- display: flex;
5788
- align-items: center;
5789
- justify-content: space-between;
5790
- align-content: center;
5791
- color: $wac-white;
5792
- font-size: rem(14);
5793
- line-height: rem(16);
5794
- border-radius: rem(3);
5795
- padding: rem(9);
5796
- font-weight: 600;
5797
- transition: 0.3s ease;
5798
- cursor: default;
5799
-
5800
- &.big {
5801
- padding: rem(11) rem(15);
5802
- font-size: rem(14);
5803
- font-weight: 500;
5804
- &.wac-tag--default {
5805
- i {
5806
- color: $wac-second-color;
5807
- font-size: rem(14);
5808
- }
5809
- }
5810
- }
5716
+ .wac-tab {
5717
+ &__wrapper {
5718
+ position: relative;
5719
+ @include flexbox();
5720
+ margin-bottom: 30px;
5811
5721
 
5812
- i {
5813
- color: $wac-white;
5814
- font-weight: 400;
5815
- margin: 0 0 0 rem(15);
5816
- font-size: rem(13);
5817
- }
5722
+ &__tab {
5723
+ position: relative;
5724
+ font-size: 14px;
5725
+ line-height: 25px;
5726
+ color: $wac-secondary-color;
5818
5727
 
5819
- &--default {
5820
- background-color: $wac-tag-default;
5821
- border: 1px solid $wac-border-light;
5822
- color: $wac-second-color;
5823
- font-weight: 400;
5824
- i {
5825
- color: $wac-border-form;
5826
- }
5827
- &.hover:hover,
5828
- &.hover:focus {
5829
- background-color: $wac-hover-btn-grey;
5830
- color: $wac-main-text;
5831
- i {
5728
+ &:hover {
5832
5729
  color: $wac-main-text;
5730
+ transition: color 0.3s ease-in-out;
5833
5731
  }
5834
- }
5835
- }
5836
5732
 
5837
- &--success {
5838
- background-color: $wac-tag-success;
5839
- &.hover:hover,
5840
- &.hover:focus {
5841
- background-color: darken($wac-tag-success, 15%);
5842
- }
5843
- }
5844
-
5845
- &--warning {
5846
- background-color: $wac-tag-waring;
5847
- &.hover:hover,
5848
- &.hover:focus {
5849
- background-color: darken($wac-tag-waring, 15%);
5850
- }
5851
- }
5733
+ &:not(:last-child) {
5734
+ margin-right: 30px;
5735
+ }
5852
5736
 
5853
- &--error {
5854
- background-color: $wac-primary-button;
5855
- &.hover:hover,
5856
- &.hover:focus {
5857
- background-color: darken($wac-primary-button, 15%);
5858
- }
5859
- }
5737
+ &:after {
5738
+ position: absolute;
5739
+ width: 0;
5740
+ height: 2px;
5741
+ bottom: -5px;
5742
+ left: 0;
5743
+ content: '';
5744
+ background-color: $wac-input-active-color;
5745
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
5746
+ }
5860
5747
 
5861
- &--dark {
5862
- background-color: $wac-main-text;
5863
- &.hover:hover,
5864
- &.hover:focus {
5865
- background-color: lighten($wac-main-text, 15%);
5866
- }
5867
- }
5748
+ &--selected {
5749
+ color: $wac-main-text;
5868
5750
 
5869
- &--gray {
5870
- background-color: $wac-tag-gray;
5871
- &.hover:hover,
5872
- &.hover:focus {
5873
- background-color: darken($wac-tag-gray, 15%);
5751
+ &:after {
5752
+ width: 100%;
5753
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
5754
+ }
5755
+ }
5874
5756
  }
5875
5757
  }
5876
5758
 
5877
- &--lightgray {
5878
- background-color: $wac-border-light;
5879
- color: $wac-second-color;
5880
- i {
5881
- color: $wac-border-form;
5882
- }
5883
- &.hover:hover,
5884
- &.hover:focus {
5885
- background-color: darken($wac-border-light, 15%);
5759
+ &--underline {
5760
+ .wac-tab__wrapper:before {
5761
+ position: absolute;
5762
+ width: 100%;
5763
+ height: 1px;
5764
+ bottom: -5px;
5765
+ left: 0;
5766
+ content: '';
5767
+ background-color: $wac-border-form;
5886
5768
  }
5887
5769
  }
5888
5770
 
5889
- &__close {
5890
- &:hover {
5891
- cursor: pointer;
5771
+ &--button {
5772
+ .wac-tab__wrapper__tab {
5773
+ background-color: $wac-button-tab-background;
5774
+ padding: 12px 20px;
5775
+ font-size: rem(14);
5776
+ line-height: rem(16);
5777
+ white-space: nowrap;
5778
+ color: $second-color;
5779
+ margin: 0 rem(2) 0 0;
5780
+ border-radius: 3px;
5781
+ transition: .3s ease;
5782
+ &--selected, &:hover, &:focus {
5783
+ background-color: $wac-wizishop-blue;
5784
+ color: $white;
5785
+ }
5786
+ &:after {
5787
+ display: none;
5788
+ }
5892
5789
  }
5893
5790
  }
5894
5791
  }
@@ -6038,6 +5935,115 @@ wac-optional-disable-container {
6038
5935
  }
6039
5936
  }
6040
5937
  }
5938
+ .wac-tag {
5939
+ display: flex;
5940
+ align-items: center;
5941
+ justify-content: space-between;
5942
+ align-content: center;
5943
+ color: $wac-white;
5944
+ font-size: rem(14);
5945
+ line-height: rem(16);
5946
+ border-radius: rem(3);
5947
+ padding: rem(9);
5948
+ font-weight: 600;
5949
+ transition: 0.3s ease;
5950
+ cursor: default;
5951
+
5952
+ &.big {
5953
+ padding: rem(11) rem(15);
5954
+ font-size: rem(14);
5955
+ font-weight: 500;
5956
+ &.wac-tag--default {
5957
+ i {
5958
+ color: $wac-second-color;
5959
+ font-size: rem(14);
5960
+ }
5961
+ }
5962
+ }
5963
+
5964
+ i {
5965
+ color: $wac-white;
5966
+ font-weight: 400;
5967
+ margin: 0 0 0 rem(15);
5968
+ font-size: rem(13);
5969
+ }
5970
+
5971
+ &--default {
5972
+ background-color: $wac-tag-default;
5973
+ border: 1px solid $wac-border-light;
5974
+ color: $wac-second-color;
5975
+ font-weight: 400;
5976
+ i {
5977
+ color: $wac-border-form;
5978
+ }
5979
+ &.hover:hover,
5980
+ &.hover:focus {
5981
+ background-color: $wac-hover-btn-grey;
5982
+ color: $wac-main-text;
5983
+ i {
5984
+ color: $wac-main-text;
5985
+ }
5986
+ }
5987
+ }
5988
+
5989
+ &--success {
5990
+ background-color: $wac-tag-success;
5991
+ &.hover:hover,
5992
+ &.hover:focus {
5993
+ background-color: darken($wac-tag-success, 15%);
5994
+ }
5995
+ }
5996
+
5997
+ &--warning {
5998
+ background-color: $wac-tag-waring;
5999
+ &.hover:hover,
6000
+ &.hover:focus {
6001
+ background-color: darken($wac-tag-waring, 15%);
6002
+ }
6003
+ }
6004
+
6005
+ &--error {
6006
+ background-color: $wac-primary-button;
6007
+ &.hover:hover,
6008
+ &.hover:focus {
6009
+ background-color: darken($wac-primary-button, 15%);
6010
+ }
6011
+ }
6012
+
6013
+ &--dark {
6014
+ background-color: $wac-main-text;
6015
+ &.hover:hover,
6016
+ &.hover:focus {
6017
+ background-color: lighten($wac-main-text, 15%);
6018
+ }
6019
+ }
6020
+
6021
+ &--gray {
6022
+ background-color: $wac-tag-gray;
6023
+ &.hover:hover,
6024
+ &.hover:focus {
6025
+ background-color: darken($wac-tag-gray, 15%);
6026
+ }
6027
+ }
6028
+
6029
+ &--lightgray {
6030
+ background-color: $wac-border-light;
6031
+ color: $wac-second-color;
6032
+ i {
6033
+ color: $wac-border-form;
6034
+ }
6035
+ &.hover:hover,
6036
+ &.hover:focus {
6037
+ background-color: darken($wac-border-light, 15%);
6038
+ }
6039
+ }
6040
+
6041
+ &__close {
6042
+ &:hover {
6043
+ cursor: pointer;
6044
+ }
6045
+ }
6046
+ }
6041
6047
  .wac-tag-label {
6042
6048
  @include flexbox();
6043
6049
  background-color: $wac-gray-background;