@wizishop/angular-components 14.4.35 → 14.4.38

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.
Files changed (28) hide show
  1. package/angular-components.scss +245 -534
  2. package/esm2020/lib/components/checkbox/checkbox.component.mjs +3 -4
  3. package/esm2020/lib/components/inputs/input-with-select/input-with-select.component.mjs +3 -3
  4. package/esm2020/lib/components/selects/select/select.component.mjs +197 -0
  5. package/esm2020/lib/components/selects/select/select.directive.mjs +154 -0
  6. package/esm2020/lib/components/selects/select/value-change.service.mjs +144 -0
  7. package/esm2020/lib/components/shared-components.module.mjs +5 -9
  8. package/esm2020/lib/directives/shared-directives.module.mjs +2 -2
  9. package/esm2020/public-api.mjs +4 -5
  10. package/fesm2015/wizishop-angular-components.mjs +54 -180
  11. package/fesm2015/wizishop-angular-components.mjs.map +1 -1
  12. package/fesm2020/wizishop-angular-components.mjs +54 -179
  13. package/fesm2020/wizishop-angular-components.mjs.map +1 -1
  14. package/lib/components/inputs/input-with-select/input-with-select.component.d.ts +1 -1
  15. package/lib/components/selects/{select-test → select}/select.component.d.ts +3 -3
  16. package/lib/components/selects/{select-test → select}/select.directive.d.ts +0 -0
  17. package/lib/components/selects/{select-test → select}/value-change.service.d.ts +0 -0
  18. package/lib/components/shared-components.module.d.ts +79 -80
  19. package/lib/directives/shared-directives.module.d.ts +1 -1
  20. package/package.json +1 -1
  21. package/public-api.d.ts +3 -4
  22. package/wizishop-angular-components-14.4.38.tgz +0 -0
  23. package/esm2020/lib/components/selects/legacy-select/select.component.mjs +0 -133
  24. package/esm2020/lib/components/selects/select-test/select.component.mjs +0 -197
  25. package/esm2020/lib/components/selects/select-test/select.directive.mjs +0 -154
  26. package/esm2020/lib/components/selects/select-test/value-change.service.mjs +0 -144
  27. package/lib/components/selects/legacy-select/select.component.d.ts +0 -46
  28. package/wizishop-angular-components-14.4.35.tgz +0 -0
@@ -7667,8 +7667,8 @@ div.wac-field-input-search {
7667
7667
  }
7668
7668
  }
7669
7669
 
7670
- wac-select-test {
7671
- .wac-select-test__header {
7670
+ wac-select {
7671
+ .wac-select__header {
7672
7672
 
7673
7673
  }
7674
7674
 
@@ -7686,7 +7686,7 @@ div.wac-field-input-search {
7686
7686
  }
7687
7687
  }
7688
7688
  }
7689
- .wac-select-test {
7689
+ .wac-select {
7690
7690
  border-width: 0;
7691
7691
  background-color: transparent;
7692
7692
  position: relative;
@@ -7701,7 +7701,7 @@ div.wac-field-input-search {
7701
7701
  transform: translateY(-50%);
7702
7702
  background-color: $input-border;
7703
7703
  }
7704
- .wac-select-test__header {
7704
+ .wac-select__header {
7705
7705
  padding: 0 20px;
7706
7706
  &:focus {
7707
7707
  border: none;
@@ -7723,310 +7723,11 @@ div.wac-field-input-search {
7723
7723
  }
7724
7724
  }
7725
7725
  }
7726
- .wac-select-test__header__chevron {
7726
+ .wac-select__header__chevron {
7727
7727
  display: none;
7728
7728
  }
7729
7729
  }
7730
7730
 
7731
-
7732
-
7733
- .wac {
7734
- &-select {
7735
- width: 100%;
7736
- position: relative;
7737
- height: 40px;
7738
- border: 1px solid $wac-border-form;
7739
- margin: 0;
7740
- border-radius: 3px;
7741
- z-index: 2;
7742
- background-color: $wac-white;
7743
- max-width: 100%;
7744
- &:hover,
7745
- &:focus {
7746
- z-index: 4;
7747
- }
7748
- &__label {
7749
- padding: 0;
7750
- font-size: rem(14);
7751
- line-height: rem(16);
7752
- margin: 0 0 rem(12);
7753
- font-weight: 500;
7754
- }
7755
- &__current {
7756
- display: flex;
7757
- width: 100%;
7758
- height: 38px;
7759
- justify-content: space-between;
7760
- align-items: center;
7761
- align-content: center;
7762
- padding: 0 0 0 20px;
7763
- color: $wac-color-text-grey;
7764
- font-size: rem(14);
7765
- line-height: rem(16);
7766
- cursor: pointer;
7767
- white-space: nowrap;
7768
- text-overflow: ellipsis;
7769
- max-width: 100%;
7770
- overflow: hidden;
7771
- &--withSearch {
7772
- padding: 0;
7773
- span {
7774
- &:not(.icon):not(:last-child) {
7775
- display: block;
7776
- width: 100%;
7777
- height: rem(38);
7778
- line-height: rem(38);
7779
- padding: 0 20px;
7780
- }
7781
- &.icon {
7782
- & + span {
7783
- padding: 0;
7784
- }
7785
- }
7786
- &:last-child {
7787
- margin: 0;
7788
- }
7789
- }
7790
- &.open-search {
7791
- span {
7792
- &:not(.icon):not(:last-child) {
7793
- display: none;
7794
- }
7795
- &.icon {
7796
- display: none;
7797
- }
7798
- }
7799
- }
7800
- }
7801
- span.icon {
7802
- max-width: 24px;
7803
- margin: 0 10px 0 0;
7804
- i {
7805
- font-size: rem(17);
7806
- }
7807
- img {
7808
- display: block;
7809
- max-width: rem(24);
7810
- }
7811
- &:empty {
7812
- display: none;
7813
- }
7814
- }
7815
- > span:not([class]):not(:last-child) {
7816
- width: 100%;
7817
- text-align: left;
7818
- max-width: calc(100% - 58px);
7819
- overflow: hidden;
7820
- text-overflow: ellipsis;
7821
- }
7822
- span:last-child {
7823
- width: 38px;
7824
- min-width: 38px;
7825
- height: 38px;
7826
- margin: 0 0 0 20px;
7827
- display: flex;
7828
- justify-content: center;
7829
- align-items: center;
7830
- align-content: center;
7831
- background-color: $wac-select-icon-background;
7832
- border-radius: 0 3px 3px 0;
7833
- z-index: 3;
7834
- i {
7835
- font-size: rem(12);
7836
- color: $wac-second-color;
7837
- }
7838
- }
7839
- &__search {
7840
- position: relative;
7841
- top: 0;
7842
- left: 0;
7843
- width: 100%;
7844
- height: rem(38);
7845
- display: flex;
7846
- align-items: center;
7847
- align-content: center;
7848
- z-index: 2;
7849
- padding: 0 0 0 rem(20);
7850
- input {
7851
- border: none;
7852
- width: 100%;
7853
- box-shadow: none;
7854
- margin: 0 0 0 rem(10);
7855
- padding: 0;
7856
- height: rem(38);
7857
- line-height: rem(38);
7858
- &:focus {
7859
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
7860
- opacity: 0;
7861
- }
7862
- &::-moz-placeholder { /* Firefox 19+ */
7863
- opacity: 0;
7864
- }
7865
- &:-ms-input-placeholder { /* IE 10+ */
7866
- opacity: 0;
7867
- }
7868
- &:-moz-placeholder { /* Firefox 18- */
7869
- opacity: 0;
7870
- }
7871
-
7872
- }
7873
- }
7874
- }
7875
- }
7876
- .select-disabled {
7877
- background-color: #f5f8fa;
7878
- cursor: not-allowed;
7879
- }
7880
- &__content {
7881
- position: absolute;
7882
- top: 100%;
7883
- margin-top: rem(14);
7884
- left: -1px;
7885
- width: auto;
7886
- min-width: calc(100% - 38px);
7887
- max-width: calc(100% + 2px);
7888
- border: 1px solid $wac-border-light;
7889
- border-radius: 3px;
7890
- display: flex;
7891
- flex-direction: column;
7892
- justify-content: flex-start;
7893
- align-items: flex-start;
7894
- background-color: $wac-white;
7895
- max-height: 260px;
7896
- height: auto;
7897
- visibility: visible;
7898
- opacity: 1;
7899
- box-shadow: 3px 3px 20px $wac-select-box-shadow;
7900
- padding: 10px;
7901
- .to-top & {
7902
- top: auto;
7903
- bottom: 100%;
7904
- margin-top: 0;
7905
- margin-bottom: rem(14);
7906
- }
7907
- &.hidden {
7908
- visibility: hidden;
7909
- opacity: 0;
7910
- & > * {
7911
- opacity: 0;
7912
- transition: 0s;
7913
- }
7914
- }
7915
- .ps {
7916
- max-height: 240px;
7917
- }
7918
- &.open,
7919
- &.open.hidden {
7920
- position: relative;
7921
- left: auto;
7922
- top: 0;
7923
- transform: translateX(-1px);
7924
- visibility: visible;
7925
- opacity: 1;
7926
- & > * {
7927
- opacity: 1;
7928
- transition: 0s;
7929
- }
7930
- }
7931
- &__cta {
7932
- background-color: $wac-color-CTA-select;
7933
- border: 1px solid $wac-border-CTA-select;
7934
- color: $wac-main-text;
7935
- font-size: rem(14);
7936
- min-height: rem(40);
7937
- display: flex;
7938
- align-items: center;
7939
- align-content: center;
7940
- width: 100%;
7941
- border-radius: 3px;
7942
- cursor: pointer;
7943
- transition: 0.3s ease;
7944
- margin: 0 0 rem(10);
7945
- padding: 0 20px;
7946
- > div {
7947
- display: flex;
7948
- align-items: center;
7949
- align-content: center;
7950
- justify-content: flex-start;
7951
- width: 100%;
7952
- i {
7953
- color: $wac-wizishop-blue;
7954
- margin: 0 8px 0 0;
7955
- }
7956
- strong {
7957
- display: inline-block;
7958
- margin: 0 20px 0 0;
7959
- }
7960
- }
7961
- &:hover,
7962
- &:focus {
7963
- background-color: darken($wac-color-CTA-select, 10%);
7964
- }
7965
- }
7966
- &__item {
7967
- width: 100%;
7968
- font-size: rem(14);
7969
- line-height: rem(30);
7970
- cursor: pointer;
7971
- transition: 0.3s ease;
7972
- position: relative;
7973
- display: flex;
7974
- justify-content: flex-start;
7975
- align-content: center;
7976
- align-items: center;
7977
- color: $wac-second-color;
7978
- > div {
7979
- width: 100%;
7980
- display: flex;
7981
- align-items: center;
7982
- align-content: center;
7983
- }
7984
- .icon {
7985
- width: 24px;
7986
- margin: 0 10px 0 0;
7987
- height: auto;
7988
- max-height: 24px;
7989
- }
7990
- &:not(:last-child) {
7991
- margin: 0 0 rem(10);
7992
- }
7993
- &:empty {
7994
- display: none;
7995
- }
7996
- &:first-child {
7997
- border-width: 1px 0 1px;
7998
- }
7999
- &:hover,
8000
- &:focus {
8001
- background-color: $wac-gray-background;
8002
- color: $wac-main-text;
8003
- }
8004
- > div {
8005
- padding: 0 10px;
8006
- &.selected {
8007
- background-color: $wac-gray-background;
8008
- color: $wac-main-text;
8009
- }
8010
- }
8011
- }
8012
- &__empty {
8013
- display: flex;
8014
- width: 100%;
8015
- justify-content: center;
8016
- align-items: center;
8017
- padding: 10px;
8018
- span {
8019
- font-size: rem(16);
8020
- font-weight: 400;
8021
- text-align: center;
8022
- color: $wac-second-color;
8023
- display: inline-block;
8024
- line-height: rem(25);
8025
- }
8026
- }
8027
- }
8028
- }
8029
- }
8030
7731
  .wac-option {
8031
7732
  width: 100%;
8032
7733
  font-size: rem(14);
@@ -8052,73 +7753,252 @@ div.wac-field-input-search {
8052
7753
  max-height: 24px;
8053
7754
  }
8054
7755
 
8055
- &:empty {
8056
- display: none;
7756
+ &:empty {
7757
+ display: none;
7758
+ }
7759
+
7760
+ &:hover:not(.disabled),
7761
+ &:focus:not(.disabled) {
7762
+ background-color: $wac-gray-background;
7763
+ color: $wac-main-text;
7764
+ }
7765
+ &.disabled {
7766
+ cursor: default;
7767
+ color: $disabled-button-text;
7768
+ }
7769
+ > div {
7770
+ padding: 0 10px;
7771
+ &.selected {
7772
+ background-color: $wac-gray-background;
7773
+ color: $wac-main-text;
7774
+ }
7775
+ }
7776
+
7777
+ &__placeholder {
7778
+ display: flex;
7779
+ justify-content: flex-start;
7780
+ align-content: center;
7781
+ align-items: center;
7782
+ color: $wac-second-color;
7783
+ }
7784
+ }
7785
+
7786
+
7787
+
7788
+ .wac-option-call-to-action {
7789
+ background-color: $wac-color-CTA-select;
7790
+ border: 1px solid $wac-border-CTA-select;
7791
+ color: $wac-main-text;
7792
+ font-size: rem(14);
7793
+ min-height: rem(40);
7794
+ display: flex;
7795
+ align-items: center;
7796
+ align-content: center;
7797
+ width: 100%;
7798
+ border-radius: 3px;
7799
+ cursor: pointer;
7800
+ transition: 0.3s ease;
7801
+ margin: 0 0 rem(10);
7802
+ padding: 0 20px;
7803
+ > div {
7804
+ display: flex;
7805
+ align-items: center;
7806
+ align-content: center;
7807
+ justify-content: flex-start;
7808
+ width: 100%;
7809
+ position: relative;
7810
+ padding-right: 100px;
7811
+ i {
7812
+ color: $wac-wizishop-blue;
7813
+ margin: 0 8px 0 0;
7814
+ }
7815
+ strong {
7816
+ display: inline-block;
7817
+ margin: 0 20px 0 0;
7818
+ }
7819
+ wac-button {
7820
+ position: absolute;
7821
+ top: 50%;
7822
+ right: -20px;
7823
+ transform: translateY(-50%);
7824
+ }
7825
+ }
7826
+ &:hover,
7827
+ &:focus {
7828
+ background-color: darken($wac-color-CTA-select, 10%);
7829
+ }
7830
+ }
7831
+
7832
+ .wac-select {
7833
+ width: 100%;
7834
+ position: relative;
7835
+ height: 40px;
7836
+ border: 1px solid $wac-border-form;
7837
+ margin: 0;
7838
+ border-radius: 3px;
7839
+ z-index: 2;
7840
+ background-color: $wac-white;
7841
+ max-width: 100%;
7842
+ &:hover,
7843
+ &:focus {
7844
+ z-index: 4;
7845
+ }
7846
+ &__label {
7847
+ padding: 0;
7848
+ font-size: rem(14);
7849
+ line-height: rem(16);
7850
+ margin: 0 0 rem(12);
7851
+ font-weight: 500;
7852
+ }
7853
+ &__header {
7854
+ display: flex;
7855
+ width: 100%;
7856
+ height: 38px;
7857
+ justify-content: space-between;
7858
+ align-items: center;
7859
+ align-content: center;
7860
+ padding: 0 0 0 20px;
7861
+ color: $wac-color-text-grey;
7862
+ font-size: rem(14);
7863
+ line-height: rem(16);
7864
+ cursor: pointer;
7865
+ white-space: nowrap;
7866
+ text-overflow: ellipsis;
7867
+ max-width: 100%;
7868
+ overflow: hidden;
7869
+
7870
+ &:focus {
7871
+ border-color: $wizishop-blue !important;
7872
+ box-shadow: 0px 0px 4px $wac-input-box-shadow !important;
7873
+ }
7874
+
7875
+ span.icon {
7876
+ max-width: 24px;
7877
+ margin: 0 10px 0 0;
7878
+ i {
7879
+ font-size: rem(17);
7880
+ }
7881
+ img {
7882
+ display: block;
7883
+ max-width: rem(24);
7884
+ }
7885
+ &:empty {
7886
+ display: none;
7887
+ }
7888
+ }
7889
+ > span:not([class]):not(:last-child) {
7890
+ width: 100%;
7891
+ text-align: left;
7892
+ max-width: calc(100% - 58px);
7893
+ overflow: hidden;
7894
+ text-overflow: ellipsis;
7895
+ }
7896
+
7897
+ &__chevron {
7898
+ width: 38px;
7899
+ min-width: 38px;
7900
+ height: 38px;
7901
+ margin: 0 0 0 20px;
7902
+ display: flex;
7903
+ justify-content: center;
7904
+ align-items: center;
7905
+ align-content: center;
7906
+ background-color: $wac-select-icon-background;
7907
+ border-radius: 0 3px 3px 0;
7908
+ z-index: 3;
7909
+ i {
7910
+ font-size: rem(12);
7911
+ color: $wac-second-color;
7912
+ }
7913
+ }
7914
+
7915
+ &.select-disabled {
7916
+ background-color: #f5f8fa;
7917
+ cursor: not-allowed;
7918
+ }
7919
+ &__selection {
7920
+ > * {
7921
+ background-color: transparent;
7922
+ }
7923
+ }
7924
+ }
7925
+ &__content {
7926
+ position: absolute;
7927
+ top: 100%;
7928
+ margin-top: rem(14);
7929
+ left: -1px;
7930
+ width: auto;
7931
+ min-width: calc(100% - 38px);
7932
+ max-width: calc(100% + 2px);
7933
+ border: 1px solid $wac-border-light;
7934
+ border-radius: 3px;
7935
+ display: flex;
7936
+ flex-direction: column;
7937
+ justify-content: flex-start;
7938
+ align-items: flex-start;
7939
+ background-color: $wac-white;
7940
+ max-height: 260px;
7941
+ height: auto;
7942
+ visibility: visible;
7943
+ opacity: 1;
7944
+ box-shadow: 3px 3px 20px $wac-select-box-shadow;
7945
+ padding: 10px;
7946
+ &.hidden {
7947
+ visibility: hidden;
7948
+ opacity: 0;
7949
+ & > * {
7950
+ opacity: 0;
7951
+ transition: 0s;
7952
+ }
7953
+ }
7954
+ .ps {
7955
+ max-height: 240px;
7956
+ }
7957
+ &.open,
7958
+ &.open.hidden {
7959
+ position: relative;
7960
+ left: auto;
7961
+ top: 0;
7962
+ transform: translateX(-1px);
7963
+ visibility: visible;
7964
+ opacity: 1;
7965
+ & > * {
7966
+ opacity: 1;
7967
+ transition: 0s;
7968
+ }
7969
+ }
7970
+
7971
+ &__empty {
7972
+ display: flex;
7973
+ width: 100%;
7974
+ justify-content: center;
7975
+ align-items: center;
7976
+ padding: 10px;
7977
+ span {
7978
+ font-size: rem(16);
7979
+ font-weight: 400;
7980
+ text-align: center;
7981
+ color: $wac-second-color;
7982
+ display: inline-block;
7983
+ line-height: rem(25);
7984
+ }
7985
+ }
8057
7986
  }
8058
7987
 
8059
- &:hover:not(.disabled),
8060
- &:focus:not(.disabled) {
8061
- background-color: $wac-gray-background;
8062
- color: $wac-main-text;
8063
- }
8064
- &.disabled {
8065
- cursor: default;
8066
- color: $disabled-button-text;
8067
- }
8068
- > div {
8069
- padding: 0 10px;
8070
- &.selected {
8071
- background-color: $wac-gray-background;
8072
- color: $wac-main-text;
7988
+ wac-option {
7989
+ display: block;
7990
+ &:not(:last-child) {
7991
+ margin: 0 0 rem(10);
8073
7992
  }
8074
- }
8075
7993
 
8076
- &__placeholder {
8077
- display: flex;
8078
- justify-content: flex-start;
8079
- align-content: center;
8080
- align-items: center;
8081
- color: $wac-second-color;
7994
+ &:first-child {
7995
+ border-width: 1px 0 1px;
7996
+ }
8082
7997
  }
8083
- }
8084
-
8085
7998
 
7999
+ }
8086
8000
 
8087
- .wac-option-call-to-action {
8088
- background-color: $wac-color-CTA-select;
8089
- border: 1px solid $wac-border-CTA-select;
8090
- color: $wac-main-text;
8091
- font-size: rem(14);
8092
- min-height: rem(40);
8093
- display: flex;
8094
- align-items: center;
8095
- align-content: center;
8096
- width: 100%;
8097
- border-radius: 3px;
8098
- cursor: pointer;
8099
- transition: 0.3s ease;
8100
- margin: 0 0 rem(10);
8101
- padding: 0 20px;
8102
- > div {
8103
- display: flex;
8104
- align-items: center;
8105
- align-content: center;
8106
- justify-content: flex-start;
8107
- width: 100%;
8108
- i {
8109
- color: $wac-wizishop-blue;
8110
- margin: 0 8px 0 0;
8111
- }
8112
- strong {
8113
- display: inline-block;
8114
- margin: 0 20px 0 0;
8115
- }
8116
- }
8117
- &:hover,
8118
- &:focus {
8119
- background-color: darken($wac-color-CTA-select, 10%);
8120
- }
8121
- }.wac {
8001
+ .wac {
8122
8002
  &-select-in-text {
8123
8003
  width: auto;
8124
8004
  position: relative;
@@ -8292,173 +8172,4 @@ div.wac-field-input-search {
8292
8172
 
8293
8173
  }
8294
8174
  }
8295
- }
8296
- .wac-select-test {
8297
- width: 100%;
8298
- position: relative;
8299
- height: 40px;
8300
- border: 1px solid $wac-border-form;
8301
- margin: 0;
8302
- border-radius: 3px;
8303
- z-index: 2;
8304
- background-color: $wac-white;
8305
- max-width: 100%;
8306
- &:hover,
8307
- &:focus {
8308
- z-index: 4;
8309
- }
8310
- &__label {
8311
- padding: 0;
8312
- font-size: rem(14);
8313
- line-height: rem(16);
8314
- margin: 0 0 rem(12);
8315
- font-weight: 500;
8316
- }
8317
- &__header {
8318
- display: flex;
8319
- width: 100%;
8320
- height: 38px;
8321
- justify-content: space-between;
8322
- align-items: center;
8323
- align-content: center;
8324
- padding: 0 0 0 20px;
8325
- color: $wac-color-text-grey;
8326
- font-size: rem(14);
8327
- line-height: rem(16);
8328
- cursor: pointer;
8329
- white-space: nowrap;
8330
- text-overflow: ellipsis;
8331
- max-width: 100%;
8332
- overflow: hidden;
8333
-
8334
- &:focus {
8335
- border-color: $wizishop-blue !important;
8336
- box-shadow: 0px 0px 4px $wac-input-box-shadow !important;
8337
- }
8338
-
8339
- span.icon {
8340
- max-width: 24px;
8341
- margin: 0 10px 0 0;
8342
- i {
8343
- font-size: rem(17);
8344
- }
8345
- img {
8346
- display: block;
8347
- max-width: rem(24);
8348
- }
8349
- &:empty {
8350
- display: none;
8351
- }
8352
- }
8353
- > span:not([class]):not(:last-child) {
8354
- width: 100%;
8355
- text-align: left;
8356
- max-width: calc(100% - 58px);
8357
- overflow: hidden;
8358
- text-overflow: ellipsis;
8359
- }
8360
-
8361
- &__chevron {
8362
- width: 38px;
8363
- min-width: 38px;
8364
- height: 38px;
8365
- margin: 0 0 0 20px;
8366
- display: flex;
8367
- justify-content: center;
8368
- align-items: center;
8369
- align-content: center;
8370
- background-color: $wac-select-icon-background;
8371
- border-radius: 0 3px 3px 0;
8372
- z-index: 3;
8373
- i {
8374
- font-size: rem(12);
8375
- color: $wac-second-color;
8376
- }
8377
- }
8378
-
8379
- &.select-disabled {
8380
- background-color: #f5f8fa;
8381
- cursor: not-allowed;
8382
- }
8383
- &__selection {
8384
- > * {
8385
- background-color: transparent;
8386
- }
8387
- }
8388
- }
8389
- &__content {
8390
- position: absolute;
8391
- top: 100%;
8392
- margin-top: rem(14);
8393
- left: -1px;
8394
- width: auto;
8395
- min-width: calc(100% - 38px);
8396
- max-width: calc(100% + 2px);
8397
- border: 1px solid $wac-border-light;
8398
- border-radius: 3px;
8399
- display: flex;
8400
- flex-direction: column;
8401
- justify-content: flex-start;
8402
- align-items: flex-start;
8403
- background-color: $wac-white;
8404
- max-height: 260px;
8405
- height: auto;
8406
- visibility: visible;
8407
- opacity: 1;
8408
- box-shadow: 3px 3px 20px $wac-select-box-shadow;
8409
- padding: 10px;
8410
- &.hidden {
8411
- visibility: hidden;
8412
- opacity: 0;
8413
- & > * {
8414
- opacity: 0;
8415
- transition: 0s;
8416
- }
8417
- }
8418
- .ps {
8419
- max-height: 240px;
8420
- }
8421
- &.open,
8422
- &.open.hidden {
8423
- position: relative;
8424
- left: auto;
8425
- top: 0;
8426
- transform: translateX(-1px);
8427
- visibility: visible;
8428
- opacity: 1;
8429
- & > * {
8430
- opacity: 1;
8431
- transition: 0s;
8432
- }
8433
- }
8434
-
8435
- &__empty {
8436
- display: flex;
8437
- width: 100%;
8438
- justify-content: center;
8439
- align-items: center;
8440
- padding: 10px;
8441
- span {
8442
- font-size: rem(16);
8443
- font-weight: 400;
8444
- text-align: center;
8445
- color: $wac-second-color;
8446
- display: inline-block;
8447
- line-height: rem(25);
8448
- }
8449
- }
8450
- }
8451
-
8452
- wac-option {
8453
- display: block;
8454
- &:not(:last-child) {
8455
- margin: 0 0 rem(10);
8456
- }
8457
-
8458
- &:first-child {
8459
- border-width: 1px 0 1px;
8460
- }
8461
- }
8462
-
8463
- }
8464
-
8175
+ }