@wizishop/angular-components 0.0.210 → 0.0.212

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.
@@ -1263,7 +1263,6 @@ $wac-subtitle-color: #7A87A1!default;
1263
1263
  width: auto;
1264
1264
  min-width: unset;
1265
1265
  max-width: unset;
1266
- padding: 10px 30px;
1267
1266
  .name {
1268
1267
  white-space: nowrap;
1269
1268
  }
@@ -1942,174 +1941,115 @@ $wac-subtitle-color: #7A87A1!default;
1942
1941
  }
1943
1942
 
1944
1943
  }
1945
- .wac-field-checkbox {
1946
- &.disable-wt {
1947
- .wac-field-checkbox__row {
1948
- display: flex;
1949
- width: 100%;
1950
- }
1951
- .is-checkradio[type='checkbox'] {
1952
- & + label {
1953
- white-space: normal;
1954
- line-height: 1.4;
1955
- padding: 0;
1956
- > span {
1957
- margin: 0 0 0 30px;
1958
- transform: translateY(-4px);
1959
- }
1960
- }
1961
- }
1944
+ .wac-card-price {
1945
+ width: 100%;
1946
+ padding: 30px;
1947
+ border-radius: 3px;
1948
+ background-color: $wac-white;
1949
+ display: flex;
1950
+ flex-direction: column;
1951
+ border: 1px solid $wac-white;
1952
+
1953
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1954
+
1955
+ &.selected {
1956
+ border: 1px solid $wac-tag-success;
1962
1957
  }
1963
- &__row {
1964
- position: relative;
1965
- min-width: 100%;
1966
- margin: 0;
1958
+
1959
+ &:hover {
1960
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1967
1961
  }
1968
- &--nowrap {
1969
- display: inline-block;
1970
- width: auto;
1971
- min-width: 0;
1972
- margin: 0 10px 10px 0;
1973
- .field {
1974
- &__row {
1975
- width: auto;
1976
- display: inline-block;
1977
- margin: 0;
1978
- }
1979
- }
1962
+
1963
+ @include media('<desktop') {
1964
+ padding: 30px;
1980
1965
  }
1981
1966
 
1982
- input[type='text'] {
1983
- height: 40px;
1984
- max-height: 40px;
1985
- padding: 0 20px;
1986
- line-height: 40px;
1987
- border: 1px solid $wac-border-form;
1988
- border-radius: 3px;
1989
- margin: 15px 0 10px !important;
1990
- font-size: rem(14) !important;
1991
- color: $wac-main-text;
1992
- &:focus {
1993
- border-color: $wac-wizishop-blue !important;
1994
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
1995
- &::-webkit-input-placeholder {
1996
- /* Chrome/Opera/Safari */
1997
- opacity: 0;
1998
- }
1999
- &::-moz-placeholder {
2000
- /* Firefox 19+ */
2001
- opacity: 0;
2002
- }
2003
- &:-ms-input-placeholder {
2004
- /* IE 10+ */
2005
- opacity: 0;
2006
- }
2007
- &:-moz-placeholder {
2008
- /* Firefox 18- */
2009
- opacity: 0;
2010
- }
2011
- }
1967
+ @include media('<tablet') {
1968
+ padding: 20px;
2012
1969
  }
2013
- &.alone {
2014
- .is-checkradio[type='checkbox'] {
2015
- & + label {
2016
- padding-left: 9px;
2017
- margin-right: 0px;
2018
1970
 
2019
- &:before {
2020
- border-width: 1px;
2021
- width: 16px;
2022
- height: 16px;
2023
- border-radius: 2px;
2024
- }
2025
- }
2026
- &:checked + label {
2027
- &:after {
2028
- top: 7px;
2029
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2030
- }
2031
- }
2032
- }
1971
+ .cta {
1972
+ min-height: 40px;
2033
1973
  }
2034
1974
 
2035
- .is-checkradio[type='checkbox'] {
2036
- outline: 0 !important;
2037
- top: 0;
2038
- & + label {
2039
- font-size: rem(14);
2040
- line-height: 0;
2041
- color: $wac-input-radio-color-label;
2042
- white-space: nowrap;
2043
- padding: 0 8px;
2044
- margin-right: 0;
2045
- outline: 0 !important;
2046
- &:before {
2047
- width: 16px;
2048
- height: 16px;
2049
- border: 1px solid $wac-border-color;
2050
- top: 0;
2051
- transition: all 0.3s ease-in-out;
2052
- }
2053
- &:after {
2054
- top: 2.3px !important;
2055
- left: 3px !important;
2056
- width: 10px;
2057
- height: 12px;
2058
- border: none !important;
2059
- background: transparent
2060
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2061
- center center / 8px 8px no-repeat;
2062
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2063
- transition: all 0.3s ease-in-out;
2064
- }
1975
+ > strong {
1976
+ font-size: rem(40);
1977
+ line-height: rem(47);
1978
+ text-align: center;
1979
+ display: block;
1980
+ width: 100%;
1981
+ font-weight: 600;
1982
+ margin: 0 0 -5px;
1983
+ }
1984
+
1985
+ > p {
1986
+ font-size: rem(20);
1987
+ text-transform: uppercase;
1988
+ margin: 0 0 20px;
1989
+ text-align: center;
1990
+ display: block;
1991
+ width: 100%;
1992
+ font-weight: 600;
1993
+ }
1994
+
1995
+ .price {
1996
+ display: flex;
1997
+ align-items: flex-end;
1998
+ width: 100%;
1999
+ justify-content: center;
2000
+ position: relative;
2001
+ color: $wac-tag-success;
2002
+ margin: 0 0 5px;
2003
+
2004
+ .amount {
2005
+ font-size: rem(50);
2006
+ font-weight: 600;
2007
+ margin: 0 5px 0 0;
2008
+ position: relative;
2009
+ line-height: 1;
2065
2010
  span {
2066
- margin: 0 0 0 rem(16);
2067
- display: inline-block;
2068
- }
2069
- &:hover,
2070
- &:focus {
2071
- &:before {
2072
- border-color: $wac-input-active-color !important;
2073
- }
2074
- }
2075
- &:before,
2076
- &:after {
2077
- outline: 0 !important;
2011
+ position: absolute;
2012
+ top: 5px;
2013
+ left: 100%;
2014
+ margin: 0 0 0 3px;
2015
+ display: block;
2016
+ font-size: rem(20);
2078
2017
  }
2079
2018
  }
2080
- &:hover {
2081
- & + label {
2082
- color: $wac-input-radio-color-active-label;
2083
- &:before {
2084
- border-color: $wac-input-active-color !important;
2085
- }
2086
- &:after {
2087
- border-color: $wac-white !important;
2088
- }
2089
- }
2090
- &:not([disabled]) {
2091
- & + label {
2092
- &:before {
2093
- border-color: $wac-input-active-color !important;
2094
- }
2095
- }
2096
- }
2019
+
2020
+ .month {
2021
+ font-size: rem(20);
2022
+ margin: 0;
2023
+ font-weight: 500;
2024
+ line-height: 1;
2025
+ transform: translateY(-5px);
2097
2026
  }
2098
- &:checked + label {
2099
- color: $wac-input-radio-color-active-label;
2100
- &:before {
2101
- border: 1px solid $wac-input-active-color;
2102
- background-color: $wac-input-active-color;
2103
- transition: all 0.3s ease-in-out;
2104
- }
2105
- &:after {
2106
- left: 7px;
2107
- top: 8px;
2108
- transition: all 0.3s ease-in-out;
2109
- }
2027
+ }
2028
+
2029
+ .subtitle, .package-subtitle {
2030
+ font-size: rem(12);
2031
+ color: $wac-subtitle-color;
2032
+ margin: 0 0 30px;
2033
+ text-align: center;
2034
+ font-style: italic;
2035
+ }
2036
+
2037
+ .subtitle {
2038
+ &:last-child {
2039
+ margin: 0;
2110
2040
  }
2111
2041
  }
2112
2042
 
2043
+ .package-subtitle {
2044
+ margin: 10px 0 30px;
2045
+ }
2046
+
2047
+ .link-bottom {
2048
+ margin: 0;
2049
+ display: flex;
2050
+ justify-content: center;
2051
+ width: 100%;
2052
+ }
2113
2053
  }
2114
2054
  .wac-state {
2115
2055
  width: 12px;
@@ -2586,174 +2526,89 @@ $wac-subtitle-color: #7A87A1!default;
2586
2526
  }
2587
2527
  }
2588
2528
  }
2589
- .wac-edit-in-place.nwb-wrapper {
2529
+ .wac-dropdown {
2590
2530
  display: inline-block;
2591
- position: relative;
2592
- width: auto;
2593
- min-width: 12px;
2594
- min-height: 1.4em;
2595
-
2596
- input {
2597
- font-size: inherit;
2598
- transition: width 50ms;
2599
- position: absolute;
2600
- top: 0;
2601
- left: -5px;
2602
- width: calc(100% + 16px) !important;
2603
- height: calc(100% + 14px) !important;
2604
- padding: 5px;
2605
- z-index: 1;
2606
- margin: 0;
2607
- outline: none !important;
2608
- border: 1px solid $wac-edit-in-place-border;
2609
- background: inherit;
2610
- transform: translateY(-17%);
2611
- background-color: $wac-edit-in-place-background;
2612
-
2613
- &.nwb-editable {
2614
- text-decoration: none;
2615
- color: inherit;
2616
- border: none;
2617
- cursor: pointer;
2618
- height: 26px;
2619
- }
2620
-
2621
- &.nwb-editing {
2622
- color: $wac-edit-in-place-border;
2623
- }
2624
- }
2531
+ width: 40px;
2532
+ height: 40px;
2625
2533
 
2626
- div.select {
2627
- position: absolute;
2628
- left: 0;
2534
+ &__wrapper {
2535
+ @include flexbox();
2536
+ @include justify-content(center);
2537
+ @include align-items(center);
2538
+ width: 100%;
2539
+ height: 100%;
2540
+ position: relative;
2629
2541
 
2630
- &:before,
2631
- &:after {
2632
- display: block;
2633
- position: absolute;
2634
- height: 10px;
2635
- width: 10px;
2542
+ &__icon {
2543
+ font-size: 30px;
2544
+ line-height: 18px;
2545
+ color: $wac-second-color;
2546
+ transition: color 0.3s ease, transform 0.3s ease;
2636
2547
  }
2637
- }
2638
2548
 
2639
- span.nwb-loader {
2640
- &.nwb-is-loading {
2641
- z-index: 2;
2642
- opacity: 1;
2549
+ &__sublevel {
2643
2550
  position: absolute;
2644
- top: -7px;
2645
- left: -7px;
2646
- width: calc(100% + 16px) !important;
2647
- height: calc(100% + 14px) !important;
2648
- min-width: 12px;
2649
- min-height: 1em;
2650
- margin: 0;
2651
- background-size: auto 70%;
2652
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
2653
- background-repeat: no-repeat;
2654
- background-position: center center;
2655
- }
2656
- }
2657
- span {
2658
- color: inherit;
2659
- font-weight: 500;
2660
- &:not(.nwb-loader) {
2661
- display: inline-block;
2662
- min-width: 12px;
2663
- }
2664
- &.nwb-editing {
2551
+ min-width: 160px;
2552
+ top: 100%;
2553
+ right: 0;
2554
+ z-index: -1;
2555
+ opacity: 0;
2556
+ background-color: $wac-white;
2557
+ border-radius: rem(3);
2558
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
2665
2559
  visibility: hidden;
2666
- }
2667
-
2668
- &.nwb-is-loading {
2669
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
2670
- color: rgba(0, 0, 0, 0.4);
2671
- opacity: 0.25;
2672
- }
2673
-
2674
- &.nwbSelect {
2675
- cursor: pointer;
2676
- }
2677
- }
2678
- }
2560
+ transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
2679
2561
 
2680
- .wac-edit-in-place.nwb-wrapper--editable::after {
2681
- position: absolute;
2682
- content: '';
2683
- border-bottom: dashed 1px $wac-primary;
2684
- width: 100%;
2685
- bottom: 0;
2686
- left: 0;
2687
- }
2562
+ &__container {
2563
+ padding: 10px 10px;
2564
+ border: 1px solid $wac-border-color;
2565
+ border-radius: 3px;
2688
2566
 
2689
- .wac-edit-in-place.nwbSelect {
2690
- &__container {
2691
- display: flex;
2692
- flex-direction: column;
2693
- position: absolute;
2694
- white-space: nowrap;
2695
- border: solid 1px rgba(0, 0, 0, 0.2);
2696
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2697
- border-radius: 3px;
2698
- top: calc(100% + 7px);
2567
+ &__item {
2568
+ padding: 5.7px 10px;
2569
+ font-size: 14px;
2570
+ line-height: 24px;
2571
+ color: $wac-second-color;
2572
+ cursor: pointer;
2573
+ transition: background-color 0.3s ease, color 0.3s ease;
2574
+ display: flex;
2575
+ justify-content: flex-start;
2576
+ align-items: center;
2577
+ align-content: center;
2699
2578
 
2700
- &::before {
2701
- position: absolute;
2702
- top: -7px;
2703
- left: 9px;
2704
- content: '';
2705
- border-left: 7px solid transparent;
2706
- border-right: 7px solid transparent;
2707
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
2708
- border-bottom-color: rgba(0, 0, 0, 0.2);
2709
- display: inline-block;
2710
- }
2579
+ i {
2580
+ min-width: 15px;
2581
+ margin-right: 5px;
2582
+ text-align: center;
2583
+ }
2584
+ span {
2585
+ white-space: nowrap;
2586
+ }
2711
2587
 
2712
- &::after {
2713
- position: absolute;
2714
- top: -6px;
2715
- left: 10px;
2716
- content: '';
2717
- border-left: 6px solid transparent;
2718
- border-right: 6px solid transparent;
2719
- border-bottom: 6px solid $wac-white;
2720
- display: inline-block;
2588
+ &:hover {
2589
+ background-color: $wac-gray-background;
2590
+ transition: background-color 0.3s ease, color 0.3s ease;
2591
+ color: $wac-input-active-color;
2592
+ }
2593
+ }
2594
+ }
2721
2595
  }
2722
2596
 
2723
- &__item {
2724
- border: none;
2725
- padding: 8px 10px;
2726
- background-color: $wac-white;
2727
- cursor: pointer;
2728
- transition: all 0.3s ease-in-out;
2729
- z-index: 3;
2730
- font-size: rem(12);
2731
- text-align: left;
2732
- border-radius: 0;
2733
-
2734
- &:hover {
2735
- background-color: darken($wac-white, 10%);
2736
- color: $wac-main-text;
2737
- transition: all 0.3s ease-in-out;
2597
+ &:hover {
2598
+ .wac-dropdown__wrapper__icon {
2599
+ color: $wac-wizishop-blue;
2600
+ transform: rotate(90deg);
2601
+ transition: color 0.3s ease, transform 0.3s ease;
2738
2602
  }
2739
2603
 
2740
- &--selected,
2741
- &--selected:hover {
2742
- background-color: $wac-wizishop-blue;
2743
- color: $wac-white;
2744
- transition: all 0.3s ease-in-out;
2604
+ .wac-dropdown__wrapper__sublevel {
2605
+ visibility: visible;
2606
+ opacity: 1;
2607
+ z-index: 2;
2608
+ transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
2745
2609
  }
2746
2610
  }
2747
2611
  }
2748
-
2749
- &__background {
2750
- position: fixed;
2751
- top: 0;
2752
- left: 0;
2753
- width: 100vw;
2754
- height: 100vh;
2755
- z-index: 2;
2756
- }
2757
2612
  }
2758
2613
  .wac-table {
2759
2614
  width: 100%;
@@ -5193,6 +5048,7 @@ span.wac-tooltip {
5193
5048
  color: $white;
5194
5049
  min-width: 100%;
5195
5050
  visibility: hidden;
5051
+ font-size: 14px;
5196
5052
  opacity: 0;
5197
5053
  transition: opacity .3s ease 0s, visibility 0s linear .35s;
5198
5054
 
@@ -5478,89 +5334,174 @@ span.wac-tooltip {
5478
5334
  }
5479
5335
  }
5480
5336
  }
5481
- .wac-dropdown {
5337
+ .wac-edit-in-place.nwb-wrapper {
5482
5338
  display: inline-block;
5483
- width: 40px;
5484
- height: 40px;
5339
+ position: relative;
5340
+ width: auto;
5341
+ min-width: 12px;
5342
+ min-height: 1.4em;
5485
5343
 
5486
- &__wrapper {
5487
- @include flexbox();
5488
- @include justify-content(center);
5489
- @include align-items(center);
5490
- width: 100%;
5491
- height: 100%;
5492
- position: relative;
5344
+ input {
5345
+ font-size: inherit;
5346
+ transition: width 50ms;
5347
+ position: absolute;
5348
+ top: 0;
5349
+ left: -5px;
5350
+ width: calc(100% + 16px) !important;
5351
+ height: calc(100% + 14px) !important;
5352
+ padding: 5px;
5353
+ z-index: 1;
5354
+ margin: 0;
5355
+ outline: none !important;
5356
+ border: 1px solid $wac-edit-in-place-border;
5357
+ background: inherit;
5358
+ transform: translateY(-17%);
5359
+ background-color: $wac-edit-in-place-background;
5493
5360
 
5494
- &__icon {
5495
- font-size: 30px;
5496
- line-height: 18px;
5497
- color: $wac-second-color;
5498
- transition: color 0.3s ease, transform 0.3s ease;
5361
+ &.nwb-editable {
5362
+ text-decoration: none;
5363
+ color: inherit;
5364
+ border: none;
5365
+ cursor: pointer;
5366
+ height: 26px;
5499
5367
  }
5500
5368
 
5501
- &__sublevel {
5369
+ &.nwb-editing {
5370
+ color: $wac-edit-in-place-border;
5371
+ }
5372
+ }
5373
+
5374
+ div.select {
5375
+ position: absolute;
5376
+ left: 0;
5377
+
5378
+ &:before,
5379
+ &:after {
5380
+ display: block;
5502
5381
  position: absolute;
5503
- min-width: 160px;
5504
- top: 100%;
5505
- right: 0;
5506
- z-index: -1;
5507
- opacity: 0;
5508
- background-color: $wac-white;
5509
- border-radius: rem(3);
5510
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
5382
+ height: 10px;
5383
+ width: 10px;
5384
+ }
5385
+ }
5386
+
5387
+ span.nwb-loader {
5388
+ &.nwb-is-loading {
5389
+ z-index: 2;
5390
+ opacity: 1;
5391
+ position: absolute;
5392
+ top: -7px;
5393
+ left: -7px;
5394
+ width: calc(100% + 16px) !important;
5395
+ height: calc(100% + 14px) !important;
5396
+ min-width: 12px;
5397
+ min-height: 1em;
5398
+ margin: 0;
5399
+ background-size: auto 70%;
5400
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
5401
+ background-repeat: no-repeat;
5402
+ background-position: center center;
5403
+ }
5404
+ }
5405
+ span {
5406
+ color: inherit;
5407
+ font-weight: 500;
5408
+ &:not(.nwb-loader) {
5409
+ display: inline-block;
5410
+ min-width: 12px;
5411
+ }
5412
+ &.nwb-editing {
5511
5413
  visibility: hidden;
5512
- transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
5414
+ }
5513
5415
 
5514
- &__container {
5515
- padding: 10px 10px;
5516
- border: 1px solid $wac-border-color;
5517
- border-radius: 3px;
5416
+ &.nwb-is-loading {
5417
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
5418
+ color: rgba(0, 0, 0, 0.4);
5419
+ opacity: 0.25;
5420
+ }
5518
5421
 
5519
- &__item {
5520
- padding: 5.7px 10px;
5521
- font-size: 14px;
5522
- line-height: 24px;
5523
- color: $wac-second-color;
5524
- cursor: pointer;
5525
- transition: background-color 0.3s ease, color 0.3s ease;
5526
- display: flex;
5527
- justify-content: flex-start;
5528
- align-items: center;
5529
- align-content: center;
5422
+ &.nwbSelect {
5423
+ cursor: pointer;
5424
+ }
5425
+ }
5426
+ }
5530
5427
 
5531
- i {
5532
- min-width: 15px;
5533
- margin-right: 5px;
5534
- text-align: center;
5535
- }
5536
- span {
5537
- white-space: nowrap;
5538
- }
5428
+ .wac-edit-in-place.nwb-wrapper--editable::after {
5429
+ position: absolute;
5430
+ content: '';
5431
+ border-bottom: dashed 1px $wac-primary;
5432
+ width: 100%;
5433
+ bottom: 0;
5434
+ left: 0;
5435
+ }
5539
5436
 
5540
- &:hover {
5541
- background-color: $wac-gray-background;
5542
- transition: background-color 0.3s ease, color 0.3s ease;
5543
- color: $wac-input-active-color;
5544
- }
5545
- }
5546
- }
5437
+ .wac-edit-in-place.nwbSelect {
5438
+ &__container {
5439
+ display: flex;
5440
+ flex-direction: column;
5441
+ position: absolute;
5442
+ white-space: nowrap;
5443
+ border: solid 1px rgba(0, 0, 0, 0.2);
5444
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
5445
+ border-radius: 3px;
5446
+ top: calc(100% + 7px);
5447
+
5448
+ &::before {
5449
+ position: absolute;
5450
+ top: -7px;
5451
+ left: 9px;
5452
+ content: '';
5453
+ border-left: 7px solid transparent;
5454
+ border-right: 7px solid transparent;
5455
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
5456
+ border-bottom-color: rgba(0, 0, 0, 0.2);
5457
+ display: inline-block;
5547
5458
  }
5548
5459
 
5549
- &:hover {
5550
- .wac-dropdown__wrapper__icon {
5551
- color: $wac-wizishop-blue;
5552
- transform: rotate(90deg);
5553
- transition: color 0.3s ease, transform 0.3s ease;
5460
+ &::after {
5461
+ position: absolute;
5462
+ top: -6px;
5463
+ left: 10px;
5464
+ content: '';
5465
+ border-left: 6px solid transparent;
5466
+ border-right: 6px solid transparent;
5467
+ border-bottom: 6px solid $wac-white;
5468
+ display: inline-block;
5469
+ }
5470
+
5471
+ &__item {
5472
+ border: none;
5473
+ padding: 8px 10px;
5474
+ background-color: $wac-white;
5475
+ cursor: pointer;
5476
+ transition: all 0.3s ease-in-out;
5477
+ z-index: 3;
5478
+ font-size: rem(12);
5479
+ text-align: left;
5480
+ border-radius: 0;
5481
+
5482
+ &:hover {
5483
+ background-color: darken($wac-white, 10%);
5484
+ color: $wac-main-text;
5485
+ transition: all 0.3s ease-in-out;
5554
5486
  }
5555
5487
 
5556
- .wac-dropdown__wrapper__sublevel {
5557
- visibility: visible;
5558
- opacity: 1;
5559
- z-index: 2;
5560
- transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
5488
+ &--selected,
5489
+ &--selected:hover {
5490
+ background-color: $wac-wizishop-blue;
5491
+ color: $wac-white;
5492
+ transition: all 0.3s ease-in-out;
5561
5493
  }
5562
5494
  }
5563
5495
  }
5496
+
5497
+ &__background {
5498
+ position: fixed;
5499
+ top: 0;
5500
+ left: 0;
5501
+ width: 100vw;
5502
+ height: 100vh;
5503
+ z-index: 2;
5504
+ }
5564
5505
  }
5565
5506
  .wac-wrapper-sidebar {
5566
5507
  width: 100%;
@@ -5593,13 +5534,14 @@ span.wac-tooltip {
5593
5534
  padding-right: 30px;
5594
5535
 
5595
5536
  @include media('<tablet') {
5596
- padding-right: 20px;
5537
+ padding: 0;
5597
5538
  }
5598
5539
 
5599
5540
  &:nth-child(1) {
5600
5541
  background-color: $wac-white;
5601
5542
 
5602
5543
  @include media('<desktop') {
5544
+ padding: 0;
5603
5545
  margin: 0 0 20px;
5604
5546
  }
5605
5547
 
@@ -5613,6 +5555,10 @@ span.wac-tooltip {
5613
5555
  background: $wac-grey center center no-repeat;
5614
5556
  background-size: auto;
5615
5557
 
5558
+ @include media('<tablet') {
5559
+ padding: 0 10px;
5560
+ }
5561
+
5616
5562
  @include media('>=desktop') {
5617
5563
  width: 67%;
5618
5564
  min-width: 67%;
@@ -6133,115 +6079,174 @@ h4.wac-h4 {
6133
6079
  color: $wac-second-color;
6134
6080
  }
6135
6081
  }
6136
- .wac-card-price {
6137
- width: 100%;
6138
- padding: 30px;
6139
- border-radius: 3px;
6140
- background-color: $wac-white;
6141
- display: flex;
6142
- flex-direction: column;
6143
- border: 1px solid $wac-white;
6144
-
6145
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
6146
-
6147
- &.selected {
6148
- border: 1px solid $wac-tag-success;
6149
- }
6150
-
6151
- &:hover {
6152
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
6153
- }
6154
-
6155
- @include media('<desktop') {
6156
- padding: 30px;
6082
+ .wac-field-checkbox {
6083
+ &.disable-wt {
6084
+ .wac-field-checkbox__row {
6085
+ display: flex;
6086
+ width: 100%;
6087
+ }
6088
+ .is-checkradio[type='checkbox'] {
6089
+ & + label {
6090
+ white-space: normal;
6091
+ line-height: 1.4;
6092
+ padding: 0;
6093
+ > span {
6094
+ margin: 0 0 0 30px;
6095
+ transform: translateY(-4px);
6096
+ }
6097
+ }
6098
+ }
6157
6099
  }
6158
-
6159
- @include media('<tablet') {
6160
- padding: 20px;
6100
+ &__row {
6101
+ position: relative;
6102
+ min-width: 100%;
6103
+ margin: 0;
6161
6104
  }
6162
-
6163
- .cta {
6164
- min-height: 40px;
6105
+ &--nowrap {
6106
+ display: inline-block;
6107
+ width: auto;
6108
+ min-width: 0;
6109
+ margin: 0 10px 10px 0;
6110
+ .field {
6111
+ &__row {
6112
+ width: auto;
6113
+ display: inline-block;
6114
+ margin: 0;
6115
+ }
6116
+ }
6165
6117
  }
6166
6118
 
6167
- > strong {
6168
- font-size: rem(40);
6169
- line-height: rem(47);
6170
- text-align: center;
6171
- display: block;
6172
- width: 100%;
6173
- font-weight: 600;
6174
- margin: 0 0 -5px;
6119
+ input[type='text'] {
6120
+ height: 40px;
6121
+ max-height: 40px;
6122
+ padding: 0 20px;
6123
+ line-height: 40px;
6124
+ border: 1px solid $wac-border-form;
6125
+ border-radius: 3px;
6126
+ margin: 15px 0 10px !important;
6127
+ font-size: rem(14) !important;
6128
+ color: $wac-main-text;
6129
+ &:focus {
6130
+ border-color: $wac-wizishop-blue !important;
6131
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
6132
+ &::-webkit-input-placeholder {
6133
+ /* Chrome/Opera/Safari */
6134
+ opacity: 0;
6135
+ }
6136
+ &::-moz-placeholder {
6137
+ /* Firefox 19+ */
6138
+ opacity: 0;
6139
+ }
6140
+ &:-ms-input-placeholder {
6141
+ /* IE 10+ */
6142
+ opacity: 0;
6143
+ }
6144
+ &:-moz-placeholder {
6145
+ /* Firefox 18- */
6146
+ opacity: 0;
6147
+ }
6148
+ }
6175
6149
  }
6150
+ &.alone {
6151
+ .is-checkradio[type='checkbox'] {
6152
+ & + label {
6153
+ padding-left: 9px;
6154
+ margin-right: 0px;
6176
6155
 
6177
- > p {
6178
- font-size: rem(20);
6179
- text-transform: uppercase;
6180
- margin: 0 0 20px;
6181
- text-align: center;
6182
- display: block;
6183
- width: 100%;
6184
- font-weight: 600;
6156
+ &:before {
6157
+ border-width: 1px;
6158
+ width: 16px;
6159
+ height: 16px;
6160
+ border-radius: 2px;
6161
+ }
6162
+ }
6163
+ &:checked + label {
6164
+ &:after {
6165
+ top: 7px;
6166
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
6167
+ }
6168
+ }
6169
+ }
6185
6170
  }
6186
6171
 
6187
- .price {
6188
- display: flex;
6189
- align-items: flex-end;
6190
- width: 100%;
6191
- justify-content: center;
6192
- position: relative;
6193
- color: $wac-tag-success;
6194
- margin: 0 0 5px;
6195
-
6196
- .amount {
6197
- font-size: rem(50);
6198
- font-weight: 600;
6199
- margin: 0 5px 0 0;
6200
- position: relative;
6201
- line-height: 1;
6172
+ .is-checkradio[type='checkbox'] {
6173
+ outline: 0 !important;
6174
+ top: 0;
6175
+ & + label {
6176
+ font-size: rem(14);
6177
+ line-height: 0;
6178
+ color: $wac-input-radio-color-label;
6179
+ white-space: nowrap;
6180
+ padding: 0 8px;
6181
+ margin-right: 0;
6182
+ outline: 0 !important;
6183
+ &:before {
6184
+ width: 16px;
6185
+ height: 16px;
6186
+ border: 1px solid $wac-border-color;
6187
+ top: 0;
6188
+ transition: all 0.3s ease-in-out;
6189
+ }
6190
+ &:after {
6191
+ top: 2.3px !important;
6192
+ left: 3px !important;
6193
+ width: 10px;
6194
+ height: 12px;
6195
+ border: none !important;
6196
+ background: transparent
6197
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
6198
+ center center / 8px 8px no-repeat;
6199
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
6200
+ transition: all 0.3s ease-in-out;
6201
+ }
6202
6202
  span {
6203
- position: absolute;
6204
- top: 5px;
6205
- left: 100%;
6206
- margin: 0 0 0 3px;
6207
- display: block;
6208
- font-size: rem(20);
6203
+ margin: 0 0 0 rem(16);
6204
+ display: inline-block;
6205
+ }
6206
+ &:hover,
6207
+ &:focus {
6208
+ &:before {
6209
+ border-color: $wac-input-active-color !important;
6210
+ }
6211
+ }
6212
+ &:before,
6213
+ &:after {
6214
+ outline: 0 !important;
6209
6215
  }
6210
6216
  }
6211
-
6212
- .month {
6213
- font-size: rem(20);
6214
- margin: 0;
6215
- font-weight: 500;
6216
- line-height: 1;
6217
- transform: translateY(-5px);
6217
+ &:hover {
6218
+ & + label {
6219
+ color: $wac-input-radio-color-active-label;
6220
+ &:before {
6221
+ border-color: $wac-input-active-color !important;
6222
+ }
6223
+ &:after {
6224
+ border-color: $wac-white !important;
6225
+ }
6226
+ }
6227
+ &:not([disabled]) {
6228
+ & + label {
6229
+ &:before {
6230
+ border-color: $wac-input-active-color !important;
6231
+ }
6232
+ }
6233
+ }
6218
6234
  }
6219
- }
6220
-
6221
- .subtitle, .package-subtitle {
6222
- font-size: rem(12);
6223
- color: $wac-subtitle-color;
6224
- margin: 0 0 30px;
6225
- text-align: center;
6226
- font-style: italic;
6227
- }
6228
-
6229
- .subtitle {
6230
- &:last-child {
6231
- margin: 0;
6235
+ &:checked + label {
6236
+ color: $wac-input-radio-color-active-label;
6237
+ &:before {
6238
+ border: 1px solid $wac-input-active-color;
6239
+ background-color: $wac-input-active-color;
6240
+ transition: all 0.3s ease-in-out;
6241
+ }
6242
+ &:after {
6243
+ left: 7px;
6244
+ top: 8px;
6245
+ transition: all 0.3s ease-in-out;
6246
+ }
6232
6247
  }
6233
6248
  }
6234
6249
 
6235
- .package-subtitle {
6236
- margin: 10px 0 30px;
6237
- }
6238
-
6239
- .link-bottom {
6240
- margin: 0;
6241
- display: flex;
6242
- justify-content: center;
6243
- width: 100%;
6244
- }
6245
6250
  }
6246
6251
  .wac-filters {
6247
6252
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.210",
3
+ "version": "0.0.212",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",