@wizishop/angular-components 0.0.49 → 0.0.53

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.
@@ -554,6 +554,9 @@ $wac-color-success-popup-alert: #6DCC95!default;
554
554
 
555
555
  &.is-bottom {
556
556
  bottom: 0;
557
+ &.small {
558
+ bottom: -70px;
559
+ }
557
560
  }
558
561
  }
559
562
 
@@ -626,9 +629,6 @@ $wac-color-success-popup-alert: #6DCC95!default;
626
629
  }
627
630
  }
628
631
  }
629
- .is-bottom & {
630
- bottom: -30px;
631
- }
632
632
  }
633
633
 
634
634
  &__title {
@@ -725,6 +725,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
725
725
  box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
726
726
  @include simple_transition();
727
727
  height: 100%;
728
+ border-radius: 3px;
728
729
 
729
730
  &.no-padding {
730
731
  padding: 0;
@@ -1906,145 +1907,88 @@ $wac-color-success-popup-alert: #6DCC95!default;
1906
1907
  }
1907
1908
  }
1908
1909
  }
1909
- .wac-free-popin {
1910
- height: 100%;
1910
+ .wac-filters {
1911
1911
  width: 100%;
1912
- width: 100vw;
1913
- height: 100vh;
1914
- position: fixed;
1915
- top: 0;
1916
- left: 0;
1917
- z-index: 9999;
1918
-
1919
1912
  &__wrapper {
1920
- background-color: white;
1921
- border: 1px solid $wac-border-color;
1922
- border-radius: 3px;
1923
- margin: auto;
1924
- box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
1925
- position: absolute;
1926
- left: 50%;
1927
- top: 50%;
1928
- transform: translate(-50%, -50%);
1929
- padding: 50px;
1930
- z-index: 3;
1931
- max-height: 90vh;
1913
+ width: 100%;
1932
1914
  display: flex;
1933
- flex-wrap: nowrap;
1934
- flex-direction: column;
1935
- justify-content: center;
1915
+ flex-wrap: wrap;
1916
+ justify-content: flex-start;
1936
1917
  align-items: center;
1937
- width: 100%;
1938
- max-width: 575px;
1939
- overflow: hidden;
1940
-
1941
- &__content {
1918
+ align-content: center;
1919
+ button {
1942
1920
  position: relative;
1943
- overflow: hidden;
1944
- display: flex;
1945
- > * {
1946
- height: auto;
1947
- }
1948
- }
1949
-
1950
- div:not([class]) {
1951
- width: 100%;
1952
- margin: 0 0 17px;
1953
- }
1954
-
1955
- > * {
1956
- width: 100%;
1957
- }
1958
-
1959
- &__button-close {
1960
- position: absolute;
1961
- top: 10px;
1962
- right: 10px;
1963
- width: 30px;
1964
- height: 30px;
1965
- border-radius: 50%;
1921
+ width: auto;
1966
1922
  display: flex;
1967
- justify-content: center;
1968
1923
  align-items: center;
1969
- background-color: $wac-popin-btn-close;
1970
- transition: .3s ease;
1924
+ font-size: rem(14);
1925
+ line-height: rem(16);
1926
+ font-weight: 400;
1927
+ color: $wac-second-color;
1928
+ border: 1px solid $wac-border-light;
1929
+ border-radius: 3px;
1930
+ background: transparent;
1931
+ box-shadow: none;
1932
+ margin-bottom: rem(10);
1933
+ transition: 0.3s ease;
1934
+ cursor: pointer;
1935
+ padding: 12px 20px;
1936
+ .event {
1937
+ position: absolute;
1938
+ top: 0;
1939
+ left: 0;
1940
+ width: 100%;
1941
+ height: 100%;
1942
+ z-index: 2;
1943
+ display: inline-block;
1944
+ }
1971
1945
  i {
1972
- color: $wac-second-color;
1973
- font-size: 14px;
1974
- font-weight: 400;
1946
+ color: $wac-main-text;
1947
+ font-size: rem(14);
1948
+ margin: 0 rem(10) 0 0;
1975
1949
  }
1976
- &:hover, &:focus {
1977
- background-color: $wac-main-text;
1978
- i {
1979
- color: $wac-white;
1980
- }
1950
+ &:hover,
1951
+ &:focus,
1952
+ &.active {
1953
+ border-color: $wac-wizishop-blue;
1954
+ color: $wac-main-text;
1955
+ }
1956
+ &:not(:last-child) {
1957
+ margin: 0 rem(10) rem(10) 0;
1981
1958
  }
1982
1959
  }
1983
-
1984
- h1 {
1985
- font-size: rem(30);
1986
- line-height: rem(35);
1987
- font-weight: 600;
1988
- color: $wac-main-text;
1989
- }
1990
-
1991
- h2 {
1992
- font-size: rem(18);
1993
- line-height: rem(21);
1994
- font-weight: 500;
1995
- color: $wac-main-text;
1996
- }
1997
-
1998
- h3 {
1999
- font-size: rem(16);
2000
- line-height: rem(19);
2001
- font-weight: 500;
2002
- color: $wac-main-text;
2003
- }
2004
-
2005
- h4 {
1960
+ > span {
1961
+ position: relative;
1962
+ color: $wac-link-color;
1963
+ display: inline-block;
1964
+ transition: 0.3s ease;
2006
1965
  font-size: rem(14);
2007
1966
  line-height: rem(16);
2008
- font-weight: 500;
2009
- color: $wac-main-text;
2010
- }
2011
-
2012
- img {
2013
- width: auto;
2014
- height: auto;
2015
- margin: 0 auto;
2016
- }
2017
-
2018
- &__title {
2019
- font: normal normal bold 20px/25px sans-serif;
2020
- color: $wac-main-text;
2021
- }
2022
-
2023
- &__buttons {
2024
- width: 100%;
2025
- display: flex;
2026
- flex-direction: column;
2027
- align-items: center;
2028
- margin: 30px 0 0;
2029
- &__button {
2030
- margin: 10px;
2031
- width: auto;
1967
+ margin: 0 0 0 rem(30);
1968
+ cursor: pointer;
1969
+ z-index: 1;
1970
+ &:before {
1971
+ content: '';
1972
+ display: block;
1973
+ position: absolute;
1974
+ width: 100%;
1975
+ max-width: 0;
1976
+ height: 1px;
1977
+ border-radius: 3px;
1978
+ background-color: darken($wac-link-color, 15%);
1979
+ left: 0;
1980
+ bottom: -2px;
1981
+ transition: 0.3s ease;
1982
+ }
1983
+ &:hover,
1984
+ &:focus {
1985
+ color: darken($wac-link-color, 15%);
1986
+ &:before {
1987
+ max-width: 100%;
2032
1988
  }
1989
+ }
2033
1990
  }
2034
1991
  }
2035
- &__background {
2036
- z-index: 1;
2037
- position: absolute;
2038
- top: 0;
2039
- left: 0;
2040
- width: 100%;
2041
- height: 100%;
2042
- background-color: transparentize($wac-main-text, .5);
2043
- }
2044
- }
2045
-
2046
- .wac-free-popin .ps-content > * {
2047
- padding-right: 15px;
2048
1992
  }
2049
1993
  .wac-table {
2050
1994
  width: 100%;
@@ -3094,6 +3038,30 @@ span.wac-tooltip {
3094
3038
  white-space: nowrap;
3095
3039
  }
3096
3040
 
3041
+ &.animationText {
3042
+ width: rem(40);
3043
+ height: rem(40);
3044
+ padding: 0!important;
3045
+ border-radius: 3px;
3046
+ transition: 0s linear .3s!important;
3047
+ display: flex;
3048
+ justify-content: center;
3049
+ align-items: center;
3050
+ cursor: pointer;
3051
+ border: none;
3052
+ position: relative;
3053
+ &:hover, &:focus {
3054
+ transition: 0s!important;
3055
+ border-radius: 3px 0 0 3px;
3056
+ &.animation-right {
3057
+ border-radius: 0 3px 3px 0;
3058
+ }
3059
+ .wac-button__animation {
3060
+ transition: .3s ease!important;
3061
+ }
3062
+ }
3063
+ }
3064
+
3097
3065
  &.small {
3098
3066
  padding: rem(4) rem(15);
3099
3067
  }
@@ -3111,6 +3079,44 @@ span.wac-tooltip {
3111
3079
  }
3112
3080
  }
3113
3081
 
3082
+ &__animation {
3083
+ overflow: hidden;
3084
+ max-width: 0;
3085
+ height: 40px;
3086
+ position: absolute;
3087
+ top: 0;
3088
+ left: 95%;
3089
+ z-index: 2;
3090
+ transition: .3s ease!important;
3091
+ .animation-right & {
3092
+ left: auto;
3093
+ right: 94%;
3094
+ > span {
3095
+ border-radius: 3px 0 0 3px;
3096
+ padding: 0 0 0 20px;
3097
+ }
3098
+ }
3099
+ &__text {
3100
+ position: absolute;
3101
+ top: 0;
3102
+ left: 0;
3103
+ width: auto;
3104
+ white-space: nowrap;
3105
+ height: rem(40);
3106
+ line-height: rem(40);
3107
+ color: $wac-white !important;
3108
+ border-radius: 0 3px 3px 0;
3109
+ padding: 0 20px 0 0;
3110
+ font-size: rem(14);
3111
+ .is-success & {
3112
+ background-color: $wac-green-color;
3113
+ }
3114
+ .is-danger & {
3115
+ background-color: $wac-primary-button;
3116
+ }
3117
+ }
3118
+ }
3119
+
3114
3120
  &.alone {
3115
3121
  padding: 7px 14.6px;
3116
3122
 
@@ -3122,7 +3128,7 @@ span.wac-tooltip {
3122
3128
  &.is-outlined {
3123
3129
  &:hover,
3124
3130
  &.hover {
3125
- .wac-button__wrapper {
3131
+ .wac-button__wrapper, .wac-button__animation {
3126
3132
  color: $wac-white;
3127
3133
  transition: color 0.3s ease-in-out;
3128
3134
  }
@@ -3160,7 +3166,7 @@ span.wac-tooltip {
3160
3166
  background-color: $wac-main-text;
3161
3167
  }
3162
3168
 
3163
- .wac-button__wrapper {
3169
+ .wac-button__wrapper, .wac-button__animation {
3164
3170
  color: $wac-main-text;
3165
3171
  transition: color 0.3s ease-in-out;
3166
3172
  }
@@ -3169,7 +3175,7 @@ span.wac-tooltip {
3169
3175
  &.hover {
3170
3176
  background-color: $wac-main-text;
3171
3177
  border-color: $wac-main-text;
3172
- .wac-button__wrapper {
3178
+ .wac-button__wrapper, .wac-button__animation {
3173
3179
  color: $wac-white;
3174
3180
  transition: color 0.3s ease-in-out;
3175
3181
  }
@@ -3180,7 +3186,7 @@ span.wac-tooltip {
3180
3186
  background-color: $wac-main-text;
3181
3187
  border-color: $wac-main-text;
3182
3188
  transition: background-color 0.3s ease-in-out;
3183
- .wac-button__wrapper {
3189
+ .wac-button__wrapper, .wac-button__animation {
3184
3190
  color: $wac-white;
3185
3191
  transition: color 0.3s ease-in-out;
3186
3192
  }
@@ -3219,7 +3225,7 @@ span.wac-tooltip {
3219
3225
  background-color: $wac-wizishop-blue-button-darken;
3220
3226
  }
3221
3227
 
3222
- .wac-button__wrapper {
3228
+ .wac-button__wrapper, .wac-button__animation {
3223
3229
  color: $wac-wizishop-blue-button;
3224
3230
  transition: color 0.3s ease-in-out;
3225
3231
  }
@@ -3257,7 +3263,7 @@ span.wac-tooltip {
3257
3263
  border-color: $wac-wizishop-blue-button-disabled;
3258
3264
  transition: 0s;
3259
3265
  cursor: default;
3260
- .wac-button__wrapper {
3266
+ .wac-button__wrapper, .wac-button__animation {
3261
3267
  color: $wac-white;
3262
3268
  }
3263
3269
  &:hover,
@@ -3279,7 +3285,7 @@ span.wac-tooltip {
3279
3285
  background-color: $wac-background-color-darken;
3280
3286
  }
3281
3287
 
3282
- .wac-button__wrapper {
3288
+ .wac-button__wrapper, .wac-button__animation {
3283
3289
  color: $wac-second-color;
3284
3290
  transition: color 0.3s ease-in-out;
3285
3291
  }
@@ -3306,7 +3312,7 @@ span.wac-tooltip {
3306
3312
  background-color: $wac-background-color-darken;
3307
3313
  }
3308
3314
 
3309
- .wac-button__wrapper {
3315
+ .wac-button__wrapper, .wac-button__animation {
3310
3316
  color: $wac-second-color !important;
3311
3317
  transition: color 0.3s ease-in-out;
3312
3318
  }
@@ -3376,7 +3382,7 @@ span.wac-tooltip {
3376
3382
  background-color: transparent;
3377
3383
  border-color: $wac-primary-button;
3378
3384
 
3379
- .wac-button__wrapper {
3385
+ .wac-button__wrapper, .wac-button__animation {
3380
3386
  color: $wac-primary-button;
3381
3387
  transition: color 0.3s ease-in-out;
3382
3388
  }
@@ -3418,7 +3424,7 @@ span.wac-tooltip {
3418
3424
  transition: 0s;
3419
3425
  cursor: default;
3420
3426
 
3421
- .wac-button__wrapper {
3427
+ .wac-button__wrapper, .wac-button__animation {
3422
3428
  color: $wac-white;
3423
3429
  }
3424
3430
 
@@ -3459,7 +3465,7 @@ span.wac-tooltip {
3459
3465
  background-color: transparent;
3460
3466
  border-color: $wac-green-color;
3461
3467
 
3462
- .wac-button__wrapper {
3468
+ .wac-button__wrapper, .wac-button__animation {
3463
3469
  color: $wac-green-color;
3464
3470
  transition: color 0.3s ease-in-out;
3465
3471
  }
@@ -3499,7 +3505,7 @@ span.wac-tooltip {
3499
3505
  transition: 0s;
3500
3506
  cursor: default;
3501
3507
 
3502
- .wac-button__wrapper {
3508
+ .wac-button__wrapper, .wac-button__animation {
3503
3509
  color: $wac-white;
3504
3510
  }
3505
3511
 
@@ -3521,7 +3527,7 @@ span.wac-tooltip {
3521
3527
  background-color: $wac-hover-btn-grey;
3522
3528
  }
3523
3529
 
3524
- .wac-button__wrapper {
3530
+ .wac-button__wrapper, .wac-button__animation {
3525
3531
  color: $wac-secondary-color;
3526
3532
  }
3527
3533
 
@@ -3544,7 +3550,7 @@ span.wac-tooltip {
3544
3550
  background-color: $wac-disabled-button-background;
3545
3551
  border-color: $wac-border-form;
3546
3552
 
3547
- .wac-button__wrapper {
3553
+ .wac-button__wrapper, .wac-button__animation {
3548
3554
  color: $wac-disabled-button-text;
3549
3555
  }
3550
3556
  }
@@ -3552,7 +3558,7 @@ span.wac-tooltip {
3552
3558
  &.is-outlined {
3553
3559
  &:hover,
3554
3560
  &.hover {
3555
- .wac-button__wrapper {
3561
+ .wac-button__wrapper, .wac-button__animation {
3556
3562
  color: $wac-white;
3557
3563
  transition: color 0.3s ease-in-out;
3558
3564
  }
@@ -4177,87 +4183,145 @@ h4.wac-h4 {
4177
4183
  }
4178
4184
  }
4179
4185
  }
4180
- .wac-filters {
4186
+ .wac-free-popin {
4187
+ height: 100%;
4181
4188
  width: 100%;
4189
+ width: 100vw;
4190
+ height: 100vh;
4191
+ position: fixed;
4192
+ top: 0;
4193
+ left: 0;
4194
+ z-index: 9999;
4195
+
4182
4196
  &__wrapper {
4183
- width: 100%;
4197
+ background-color: white;
4198
+ border: 1px solid $wac-border-color;
4199
+ border-radius: 3px;
4200
+ margin: auto;
4201
+ box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
4202
+ position: absolute;
4203
+ left: 50%;
4204
+ top: 50%;
4205
+ transform: translate(-50%, -50%);
4206
+ padding: 50px;
4207
+ z-index: 3;
4208
+ max-height: 90vh;
4184
4209
  display: flex;
4185
- flex-wrap: wrap;
4186
- justify-content: flex-start;
4210
+ flex-wrap: nowrap;
4211
+ flex-direction: column;
4212
+ justify-content: center;
4187
4213
  align-items: center;
4188
- align-content: center;
4189
- button {
4214
+ width: 100%;
4215
+ max-width: 575px;
4216
+ overflow: hidden;
4217
+
4218
+ &__content {
4190
4219
  position: relative;
4191
- width: auto;
4220
+ overflow: hidden;
4192
4221
  display: flex;
4193
- align-items: center;
4194
- font-size: rem(14);
4195
- line-height: rem(16);
4196
- font-weight: 500;
4197
- color: $wac-second-color;
4198
- border: 1px solid $wac-border-light;
4199
- border-radius: 3px;
4200
- background: transparent;
4201
- box-shadow: none;
4202
- transition: 0.3s ease;
4203
- cursor: pointer;
4204
- padding: 12px 20px;
4205
- .event {
4206
- position: absolute;
4207
- top: 0;
4208
- left: 0;
4209
- width: 100%;
4210
- height: 100%;
4211
- z-index: 2;
4212
- display: inline-block;
4222
+ > * {
4223
+ height: auto;
4213
4224
  }
4225
+ }
4226
+
4227
+ div:not([class]) {
4228
+ width: 100%;
4229
+ margin: 0 0 17px;
4230
+ }
4231
+
4232
+ > * {
4233
+ width: 100%;
4234
+ }
4235
+
4236
+ &__button-close {
4237
+ position: absolute;
4238
+ top: 10px;
4239
+ right: 10px;
4240
+ width: 30px;
4241
+ height: 30px;
4242
+ border-radius: 50%;
4243
+ display: flex;
4244
+ justify-content: center;
4245
+ align-items: center;
4246
+ background-color: $wac-popin-btn-close;
4247
+ transition: .3s ease;
4214
4248
  i {
4215
- color: $wac-main-text;
4216
- font-size: rem(14);
4217
- margin: 0 rem(10) 0 0;
4218
- }
4219
- &:hover,
4220
- &:focus,
4221
- &.active {
4222
- border-color: $wac-wizishop-blue;
4223
- color: $wac-main-text;
4249
+ color: $wac-second-color;
4250
+ font-size: 14px;
4251
+ font-weight: 400;
4224
4252
  }
4225
- &:not(:last-child) {
4226
- margin: 0 rem(10) 0 0;
4253
+ &:hover, &:focus {
4254
+ background-color: $wac-main-text;
4255
+ i {
4256
+ color: $wac-white;
4257
+ }
4227
4258
  }
4228
4259
  }
4229
- > span {
4230
- position: relative;
4231
- color: $wac-link-color;
4232
- display: inline-block;
4233
- transition: 0.3s ease;
4260
+
4261
+ h1 {
4262
+ font-size: rem(30);
4263
+ line-height: rem(35);
4264
+ font-weight: 600;
4265
+ color: $wac-main-text;
4266
+ }
4267
+
4268
+ h2 {
4269
+ font-size: rem(18);
4270
+ line-height: rem(21);
4271
+ font-weight: 500;
4272
+ color: $wac-main-text;
4273
+ }
4274
+
4275
+ h3 {
4276
+ font-size: rem(16);
4277
+ line-height: rem(19);
4278
+ font-weight: 500;
4279
+ color: $wac-main-text;
4280
+ }
4281
+
4282
+ h4 {
4234
4283
  font-size: rem(14);
4235
4284
  line-height: rem(16);
4236
- margin: 0 0 0 rem(30);
4237
- cursor: pointer;
4238
- z-index: 1;
4239
- &:before {
4240
- content: '';
4241
- display: block;
4242
- position: absolute;
4243
- width: 100%;
4244
- max-width: 0;
4245
- height: 1px;
4246
- border-radius: 3px;
4247
- background-color: darken($wac-link-color, 15%);
4248
- left: 0;
4249
- bottom: -2px;
4250
- transition: 0.3s ease;
4251
- }
4252
- &:hover,
4253
- &:focus {
4254
- color: darken($wac-link-color, 15%);
4255
- &:before {
4256
- max-width: 100%;
4285
+ font-weight: 500;
4286
+ color: $wac-main-text;
4287
+ }
4288
+
4289
+ img {
4290
+ width: auto;
4291
+ height: auto;
4292
+ margin: 0 auto;
4293
+ }
4294
+
4295
+ &__title {
4296
+ font: normal normal bold 20px/25px sans-serif;
4297
+ color: $wac-main-text;
4298
+ }
4299
+
4300
+ &__buttons {
4301
+ width: 100%;
4302
+ display: flex;
4303
+ flex-direction: column;
4304
+ align-items: center;
4305
+ margin: 30px 0 0;
4306
+ &__button {
4307
+ margin: 10px;
4308
+ width: auto;
4257
4309
  }
4258
- }
4259
4310
  }
4260
4311
  }
4312
+ &__background {
4313
+ z-index: 1;
4314
+ position: absolute;
4315
+ top: 0;
4316
+ left: 0;
4317
+ width: 100%;
4318
+ height: 100%;
4319
+ background-color: transparentize($wac-main-text, .5);
4320
+ }
4321
+ }
4322
+
4323
+ .wac-free-popin .ps-content > * {
4324
+ padding-right: 15px;
4261
4325
  }
4262
4326
 
4263
4327