@wizishop/angular-components 0.0.232 → 0.0.234

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.
@@ -1080,30 +1080,117 @@ $wac-subtitle-color: #7A87A1!default;
1080
1080
  }
1081
1081
  }
1082
1082
  }
1083
- }.wac-back {
1084
- width: 40px;
1085
- height: 40px;
1083
+ }.wac-block {
1084
+ background-color: $white;
1085
+ @include padding(rem(30));
1086
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1087
+ @include simple_transition();
1088
+ height: 100%;
1089
+ border-radius: 3px;
1086
1090
 
1087
- &__wrapper {
1088
- @include flexbox();
1089
- @include justify-content(center);
1090
- @include align-items(center);
1091
- width: 100%;
1092
- height: 100%;
1093
- border-radius: 3px;
1094
- border: 1px solid $wac-border-light;
1095
- background-color: transparent;
1096
- transition: border-color 0.3s ease-in-out;
1091
+ @include media('<tablet') {
1092
+ @include padding(rem(20));
1093
+ }
1094
+
1095
+ &.no-padding {
1096
+ padding: 0;
1097
+ }
1098
+
1099
+ &.border-radius {
1100
+ border-radius: 5px;
1101
+ }
1102
+
1103
+ &.sticky {
1104
+ position: sticky;
1105
+ top: 20px;
1106
+ }
1107
+
1108
+ &.noFullHeight {
1109
+ height: auto;
1110
+ }
1111
+
1112
+ &.stretch {
1113
+ display: flex;
1114
+ flex-wrap: wrap;
1115
+ .wac-block__content {
1116
+ display: flex;
1117
+ }
1118
+ }
1119
+
1120
+ /*************************/
1121
+ /* Titre INTERNE au bloc */
1122
+ /*************************/
1123
+ &__title {
1124
+ text-transform: none;
1125
+ font-size: rem(16);
1126
+ font-weight: 500;
1127
+ margin-bottom: rem(20);
1128
+ color: $wac-main-text;
1129
+
1130
+ &.no-uppercase {
1131
+ text-transform: none;
1132
+ }
1097
1133
 
1134
+ &.is-simple {
1135
+ text-transform: none;
1136
+ font-weight: 500;
1137
+ }
1098
1138
  i {
1099
- color: $wac-second-color;
1100
- font-size: 11px;
1101
- line-height: 14px;
1139
+ font-size: 16px;
1140
+ margin: 0 0 0 8px;
1141
+ &.success {
1142
+ color: $wac-green-color;
1143
+ }
1144
+ &.warning {
1145
+ color: $wac-orange-color;
1146
+ }
1147
+ &.danger {
1148
+ color: $wac-primary-button;
1149
+ }
1150
+ }
1151
+ }
1152
+
1153
+ &:hover {
1154
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1155
+ }
1156
+
1157
+ /*************************/
1158
+ /* Titre EXTERNE au bloc */
1159
+ /*************************/
1160
+ &__external {
1161
+ padding: 0;
1162
+ background: transparent;
1163
+ box-shadow: none;
1164
+ height: calc(100% - 60px);
1165
+ transition: none;
1166
+
1167
+ .wac-block__title {
1168
+ font-size: 1.875rem;
1169
+ margin-bottom: 1.5rem;
1170
+ margin-left: 10px;
1171
+ line-height: 1.5625rem;
1172
+ margin-top: 0.625rem;
1173
+ font-weight: 400;
1174
+ color: $wac-block-color;
1175
+ &.is-simple {
1176
+ text-transform: none;
1177
+ font-weight: 500;
1178
+ }
1179
+ }
1180
+
1181
+ .wac-block__content {
1182
+ background-color: $wac-block-color-background;
1183
+ padding: 1.875rem;
1184
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
1185
+ transition: none;
1186
+ height: 100%;
1187
+ &:hover {
1188
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1189
+ }
1102
1190
  }
1103
1191
 
1104
1192
  &:hover {
1105
- border-color: $wac-back-border-hover;
1106
- transition: border-color 0.3s ease-in-out;
1193
+ box-shadow: none;
1107
1194
  }
1108
1195
  }
1109
1196
  }
@@ -2127,7 +2214,7 @@ $wac-subtitle-color: #7A87A1!default;
2127
2214
  align-items: center;
2128
2215
  width: auto;
2129
2216
  > div {
2130
- margin: 0 0 0 20px;
2217
+ margin: 0 0 0 10px;
2131
2218
  }
2132
2219
  }
2133
2220
  }
@@ -3065,10 +3152,9 @@ $wac-subtitle-color: #7A87A1!default;
3065
3152
  }
3066
3153
  }
3067
3154
  }
3068
- .wac-info {
3069
- display: inline-block;
3070
- width: 40px;
3071
- height: 40px;
3155
+ .wac-image {
3156
+ width: 60px;
3157
+ height: 60px;
3072
3158
 
3073
3159
  &__wrapper {
3074
3160
  @include flexbox();
@@ -3076,48 +3162,20 @@ $wac-subtitle-color: #7A87A1!default;
3076
3162
  @include align-items(center);
3077
3163
  width: 100%;
3078
3164
  height: 100%;
3079
- position: relative;
3080
-
3081
- i {
3082
- font-size: 14px;
3083
- line-height: 25px;
3084
- color: $wac-second-color;
3085
- transition: color 0.3s ease-in-out;
3086
- }
3087
-
3088
- &__sublevel {
3089
- position: absolute;
3090
- width: 350px;
3091
- top: 13px;
3092
- left: 100%;
3093
- z-index: -1;
3094
- opacity: 0;
3095
- background-color: $wac-white;
3096
- border-radius: rem(3);
3097
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
3098
- visibility: hidden;
3099
- transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
3165
+ border-radius: 3px;
3166
+ border: 1px solid $wac-border-light;
3167
+ background-position: center;
3168
+ background-size: contain;
3169
+ background-repeat: no-repeat;
3100
3170
 
3101
- &__container {
3102
- padding: 15px 20px;
3103
- font-size: rem(14);
3104
- line-height: rem(25);
3105
- color: $wac-second-color;
3106
- }
3171
+ &.empty {
3172
+ background-color: $wac-gray-background;
3107
3173
  }
3108
3174
 
3109
- &:hover {
3110
- i {
3111
- color: $wac-input-active-color;
3112
- transition: color 0.3s ease-in-out;
3113
- }
3114
-
3115
- .wac-info__wrapper__sublevel {
3116
- visibility: visible;
3117
- opacity: 1;
3118
- z-index: 2;
3119
- transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
3120
- }
3175
+ i {
3176
+ color: $wac-border-form;
3177
+ font-size: 25px;
3178
+ line-height: 23px;
3121
3179
  }
3122
3180
  }
3123
3181
  }
@@ -3404,9 +3462,12 @@ $wac-subtitle-color: #7A87A1!default;
3404
3462
  font-size: 14px;
3405
3463
  line-height: 16px;
3406
3464
  font-weight: 400;
3407
- > span:nth-child(2), > strong {
3465
+ > span:nth-child(2){
3408
3466
  font-weight: 600;
3409
3467
  }
3468
+ > strong {
3469
+ font-weight: 400;
3470
+ }
3410
3471
  > span {
3411
3472
  &.warning {
3412
3473
  color: $wac-primary-button;
@@ -3888,102 +3949,6 @@ span.wac-tooltip {
3888
3949
  border-radius: 3px;
3889
3950
  }
3890
3951
  }
3891
- .wac-upload {
3892
- width: auto;
3893
- &__wrapper {
3894
- width: 100%;
3895
- display: flex;
3896
- align-items: center;
3897
- button {
3898
- padding: 10.5px 20px;
3899
- border: none;
3900
- background-color: $wac-green-color;
3901
- border-radius: 3px;
3902
- color: $wac-white;
3903
- font-size: rem(14);
3904
- line-height: rem(16);
3905
- transition: 0.3s ease;
3906
- font-weight: 500;
3907
- cursor: pointer;
3908
- i {
3909
- font-size: rem(18);
3910
- margin: 0 rem(10) 0 0;
3911
- }
3912
- &:hover {
3913
- background-color: $wac-green-color-darken;
3914
- }
3915
- &:focus {
3916
- background-color: $wac-green-color-focus;
3917
- }
3918
- }
3919
- }
3920
- &.portrait {
3921
- .wac-upload {
3922
- &__wrapper {
3923
- min-width: rem(331);
3924
- border-radius: 3px;
3925
- border: 1px solid $wac-border-light;
3926
- padding: rem(30);
3927
- flex-direction: column;
3928
- justify-content: center;
3929
- &__visual {
3930
- > img {
3931
- display: block;
3932
- margin: 0 auto rem(10);
3933
- max-width: rem(40);
3934
- }
3935
- > strong {
3936
- display: block;
3937
- width: 100%;
3938
- text-align: center;
3939
- font-size: rem(14);
3940
- line-height: rem(16);
3941
- font-weight: 500;
3942
- margin: 0 0 rem(20);
3943
- }
3944
- }
3945
- > span {
3946
- font-size: rem(14);
3947
- line-height: rem(16);
3948
- margin: 0 0 rem(20);
3949
- }
3950
- }
3951
- }
3952
- }
3953
- &.landscape {
3954
- .wac-upload {
3955
- &__wrapper {
3956
- border-radius: 3px;
3957
- border: 1px solid $wac-border-light;
3958
- padding: rem(30);
3959
- flex-direction: row;
3960
- justify-content: center;
3961
- &__visual {
3962
- margin: 0 rem(20) 0 0;
3963
- > img {
3964
- display: block;
3965
- margin: 0 auto rem(10);
3966
- max-width: rem(40);
3967
- }
3968
- > strong {
3969
- display: block;
3970
- width: 100%;
3971
- text-align: center;
3972
- font-size: rem(14);
3973
- line-height: rem(16);
3974
- font-weight: 500;
3975
- margin: 0 0 rem(20);
3976
- }
3977
- }
3978
- > span {
3979
- font-size: rem(14);
3980
- line-height: rem(16);
3981
- margin: 0 rem(20) 0;
3982
- }
3983
- }
3984
- }
3985
- }
3986
- }
3987
3952
  .wac-alert {
3988
3953
  width: 100%;
3989
3954
  background-color: transparentize($wac-link-color, 0.85);
@@ -4052,117 +4017,126 @@ span.wac-tooltip {
4052
4017
  color: $wac-white;
4053
4018
  }
4054
4019
  }
4055
- .wac-block {
4056
- background-color: $white;
4057
- @include padding(rem(30));
4058
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
4059
- @include simple_transition();
4060
- height: 100%;
4061
- border-radius: 3px;
4062
-
4063
- @include media('<tablet') {
4064
- @include padding(rem(20));
4065
- }
4066
-
4067
- &.no-padding {
4068
- padding: 0;
4069
- }
4070
-
4071
- &.border-radius {
4072
- border-radius: 5px;
4073
- }
4074
-
4075
- &.sticky {
4076
- position: sticky;
4077
- top: 20px;
4078
- }
4079
-
4080
- &.noFullHeight {
4081
- height: auto;
4082
- }
4083
-
4084
- &.stretch {
4020
+ .wac-upload {
4021
+ width: auto;
4022
+ &__wrapper {
4023
+ width: 100%;
4085
4024
  display: flex;
4086
- flex-wrap: wrap;
4087
- .wac-block__content {
4088
- display: flex;
4089
- }
4090
- }
4091
-
4092
- /*************************/
4093
- /* Titre INTERNE au bloc */
4094
- /*************************/
4095
- &__title {
4096
- text-transform: none;
4097
- font-size: rem(16);
4098
- font-weight: 500;
4099
- margin-bottom: rem(20);
4100
- color: $wac-main-text;
4101
-
4102
- &.no-uppercase {
4103
- text-transform: none;
4104
- }
4105
-
4106
- &.is-simple {
4107
- text-transform: none;
4025
+ align-items: center;
4026
+ button {
4027
+ padding: 10.5px 20px;
4028
+ border: none;
4029
+ background-color: $wac-green-color;
4030
+ border-radius: 3px;
4031
+ color: $wac-white;
4032
+ font-size: rem(14);
4033
+ line-height: rem(16);
4034
+ transition: 0.3s ease;
4108
4035
  font-weight: 500;
4109
- }
4110
- i {
4111
- font-size: 16px;
4112
- margin: 0 0 0 8px;
4113
- &.success {
4114
- color: $wac-green-color;
4036
+ cursor: pointer;
4037
+ i {
4038
+ font-size: rem(18);
4039
+ margin: 0 rem(10) 0 0;
4115
4040
  }
4116
- &.warning {
4117
- color: $wac-orange-color;
4041
+ &:hover {
4042
+ background-color: $wac-green-color-darken;
4118
4043
  }
4119
- &.danger {
4120
- color: $wac-primary-button;
4044
+ &:focus {
4045
+ background-color: $wac-green-color-focus;
4121
4046
  }
4122
4047
  }
4123
4048
  }
4124
-
4125
- &:hover {
4126
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4049
+ &.portrait {
4050
+ .wac-upload {
4051
+ &__wrapper {
4052
+ min-width: rem(331);
4053
+ border-radius: 3px;
4054
+ border: 1px solid $wac-border-light;
4055
+ padding: rem(30);
4056
+ flex-direction: column;
4057
+ justify-content: center;
4058
+ &__visual {
4059
+ > img {
4060
+ display: block;
4061
+ margin: 0 auto rem(10);
4062
+ max-width: rem(40);
4063
+ }
4064
+ > strong {
4065
+ display: block;
4066
+ width: 100%;
4067
+ text-align: center;
4068
+ font-size: rem(14);
4069
+ line-height: rem(16);
4070
+ font-weight: 500;
4071
+ margin: 0 0 rem(20);
4072
+ }
4073
+ }
4074
+ > span {
4075
+ font-size: rem(14);
4076
+ line-height: rem(16);
4077
+ margin: 0 0 rem(20);
4078
+ }
4079
+ }
4080
+ }
4127
4081
  }
4128
-
4129
- /*************************/
4130
- /* Titre EXTERNE au bloc */
4131
- /*************************/
4132
- &__external {
4133
- padding: 0;
4134
- background: transparent;
4135
- box-shadow: none;
4136
- height: calc(100% - 60px);
4137
- transition: none;
4138
-
4139
- .wac-block__title {
4140
- font-size: 1.875rem;
4141
- margin-bottom: 1.5rem;
4142
- margin-left: 10px;
4143
- line-height: 1.5625rem;
4144
- margin-top: 0.625rem;
4145
- font-weight: 400;
4146
- color: $wac-block-color;
4147
- &.is-simple {
4148
- text-transform: none;
4149
- font-weight: 500;
4082
+ &.landscape {
4083
+ .wac-upload {
4084
+ &__wrapper {
4085
+ border-radius: 3px;
4086
+ border: 1px solid $wac-border-light;
4087
+ padding: rem(30);
4088
+ flex-direction: row;
4089
+ justify-content: center;
4090
+ &__visual {
4091
+ margin: 0 rem(20) 0 0;
4092
+ > img {
4093
+ display: block;
4094
+ margin: 0 auto rem(10);
4095
+ max-width: rem(40);
4096
+ }
4097
+ > strong {
4098
+ display: block;
4099
+ width: 100%;
4100
+ text-align: center;
4101
+ font-size: rem(14);
4102
+ line-height: rem(16);
4103
+ font-weight: 500;
4104
+ margin: 0 0 rem(20);
4105
+ }
4106
+ }
4107
+ > span {
4108
+ font-size: rem(14);
4109
+ line-height: rem(16);
4110
+ margin: 0 rem(20) 0;
4111
+ }
4150
4112
  }
4151
4113
  }
4114
+ }
4115
+ }
4116
+ .wac-back {
4117
+ width: 40px;
4118
+ height: 40px;
4152
4119
 
4153
- .wac-block__content {
4154
- background-color: $wac-block-color-background;
4155
- padding: 1.875rem;
4156
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
4157
- transition: none;
4158
- height: 100%;
4159
- &:hover {
4160
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4161
- }
4120
+ &__wrapper {
4121
+ @include flexbox();
4122
+ @include justify-content(center);
4123
+ @include align-items(center);
4124
+ width: 100%;
4125
+ height: 100%;
4126
+ border-radius: 3px;
4127
+ border: 1px solid $wac-border-light;
4128
+ background-color: transparent;
4129
+ transition: border-color 0.3s ease-in-out;
4130
+
4131
+ i {
4132
+ color: $wac-second-color;
4133
+ font-size: 11px;
4134
+ line-height: 14px;
4162
4135
  }
4163
4136
 
4164
4137
  &:hover {
4165
- box-shadow: none;
4138
+ border-color: $wac-back-border-hover;
4139
+ transition: border-color 0.3s ease-in-out;
4166
4140
  }
4167
4141
  }
4168
4142
  }
@@ -4238,11 +4212,6 @@ span.wac-tooltip {
4238
4212
  color: $wac-white;
4239
4213
  }
4240
4214
  }
4241
-
4242
- .wac-button__tooltips {
4243
- background-color: $wac-wizishop-blue-button!important;
4244
- color: $white!important;
4245
- }
4246
4215
  }
4247
4216
 
4248
4217
  &.animationText {
@@ -4445,59 +4414,6 @@ span.wac-tooltip {
4445
4414
  background-color: $wac-main-text;
4446
4415
  }
4447
4416
 
4448
- .wac-button__tooltips {
4449
- background-color: $wac-main-text-lighten!important;
4450
- color: $wac-white!important;
4451
-
4452
- &.right {
4453
- &:before {
4454
- border-color: transparent $wac-main-text-lighten transparent transparent;
4455
- }
4456
- }
4457
-
4458
- &.left {
4459
- &:before {
4460
- border-color: transparent transparent transparent $wac-main-text-lighten;
4461
- }
4462
- }
4463
-
4464
- &.top-center {
4465
- &:before {
4466
- border-color: $wac-main-text-lighten transparent transparent transparent;
4467
- }
4468
- }
4469
-
4470
- &.top-right {
4471
- &:before {
4472
- border-color: $wac-main-text-lighten transparent transparent transparent;
4473
- }
4474
- }
4475
-
4476
- &.top-left {
4477
- &:before {
4478
- border-color: $wac-main-text-lighten transparent transparent transparent;
4479
- }
4480
- }
4481
-
4482
- &.bottom-center {
4483
- &:before {
4484
- border-color: transparent transparent $wac-main-text-lighten transparent;
4485
- }
4486
- }
4487
-
4488
- &.bottom-right {
4489
- &:before {
4490
- border-color: transparent transparent $wac-main-text-lighten transparent;
4491
- }
4492
- }
4493
-
4494
- &.bottom-left {
4495
- &:before {
4496
- border-color: transparent transparent $wac-main-text-lighten transparent;
4497
- }
4498
- }
4499
- }
4500
-
4501
4417
  &:hover,
4502
4418
  &.hover {
4503
4419
  background-color: $wac-main-text-lighten;
@@ -4781,59 +4697,6 @@ span.wac-tooltip {
4781
4697
  background-color: $wac-background-color-darken;
4782
4698
  }
4783
4699
 
4784
- .wac-button__tooltips {
4785
- background-color: $wac-background-color-darken!important;
4786
- color: $wac-main-text!important;
4787
-
4788
- &.right {
4789
- &:before {
4790
- border-color: transparent $wac-background-color-darken transparent transparent;
4791
- }
4792
- }
4793
-
4794
- &.left {
4795
- &:before {
4796
- border-color: transparent transparent transparent $wac-background-color-darken;
4797
- }
4798
- }
4799
-
4800
- &.top-center {
4801
- &:before {
4802
- border-color: $wac-background-color-darken transparent transparent transparent;
4803
- }
4804
- }
4805
-
4806
- &.top-right {
4807
- &:before {
4808
- border-color: $wac-background-color-darken transparent transparent transparent;
4809
- }
4810
- }
4811
-
4812
- &.top-left {
4813
- &:before {
4814
- border-color: $wac-background-color-darken transparent transparent transparent;
4815
- }
4816
- }
4817
-
4818
- &.bottom-center {
4819
- &:before {
4820
- border-color: transparent transparent $wac-background-color-darken transparent;
4821
- }
4822
- }
4823
-
4824
- &.bottom-right {
4825
- &:before {
4826
- border-color: transparent transparent $wac-background-color-darken transparent;
4827
- }
4828
- }
4829
-
4830
- &.bottom-left {
4831
- &:before {
4832
- border-color: transparent transparent $wac-background-color-darken transparent;
4833
- }
4834
- }
4835
- }
4836
-
4837
4700
  .wac-button__wrapper, .wac-button__animation {
4838
4701
  color: $wac-second-color;
4839
4702
  transition: color 0.3s ease-in-out;
@@ -4898,58 +4761,6 @@ span.wac-tooltip {
4898
4761
  background-color: $wac-primary-button-darken;
4899
4762
  }
4900
4763
 
4901
- .wac-button__tooltips {
4902
- background-color: $wac-primary-button-darken!important;
4903
- color: $wac-white!important;
4904
- &.right {
4905
- &:before {
4906
- border-color: transparent $wac-primary-button-darken transparent transparent;
4907
- }
4908
- }
4909
-
4910
- &.left {
4911
- &:before {
4912
- border-color: transparent transparent transparent $wac-primary-button-darken;
4913
- }
4914
- }
4915
-
4916
- &.top-center {
4917
- &:before {
4918
- border-color: $wac-primary-button-darken transparent transparent transparent;
4919
- }
4920
- }
4921
-
4922
- &.top-right {
4923
- &:before {
4924
- border-color: $wac-primary-button-darken transparent transparent transparent;
4925
- }
4926
- }
4927
-
4928
- &.top-left {
4929
- &:before {
4930
- border-color: $wac-primary-button-darken transparent transparent transparent;
4931
- }
4932
- }
4933
-
4934
- &.bottom-center {
4935
- &:before {
4936
- border-color: transparent transparent $wac-primary-button-darken transparent;
4937
- }
4938
- }
4939
-
4940
- &.bottom-right {
4941
- &:before {
4942
- border-color: transparent transparent $wac-primary-button-darken transparent;
4943
- }
4944
- }
4945
-
4946
- &.bottom-left {
4947
- &:before {
4948
- border-color: transparent transparent $wac-primary-button-darken transparent;
4949
- }
4950
- }
4951
- }
4952
-
4953
4764
  &:hover,
4954
4765
  &.hover {
4955
4766
  background-color: $wac-primary-button-darken;
@@ -5014,58 +4825,6 @@ span.wac-tooltip {
5014
4825
  background-color: $wac-green-color-darken;
5015
4826
  }
5016
4827
 
5017
- .wac-button__tooltips {
5018
- background-color: $wac-green-color-darken!important;
5019
- color: $wac-white!important;
5020
- &.right {
5021
- &:before {
5022
- border-color: transparent $wac-green-color-darken transparent transparent;
5023
- }
5024
- }
5025
-
5026
- &.left {
5027
- &:before {
5028
- border-color: transparent transparent transparent $wac-green-color-darken;
5029
- }
5030
- }
5031
-
5032
- &.top-center {
5033
- &:before {
5034
- border-color: $wac-green-color-darken transparent transparent transparent;
5035
- }
5036
- }
5037
-
5038
- &.top-right {
5039
- &:before {
5040
- border-color: $wac-green-color-darken transparent transparent transparent;
5041
- }
5042
- }
5043
-
5044
- &.top-left {
5045
- &:before {
5046
- border-color: $wac-green-color-darken transparent transparent transparent;
5047
- }
5048
- }
5049
-
5050
- &.bottom-center {
5051
- &:before {
5052
- border-color: transparent transparent $wac-green-color-darken transparent;
5053
- }
5054
- }
5055
-
5056
- &.bottom-right {
5057
- &:before {
5058
- border-color: transparent transparent $wac-green-color-darken transparent;
5059
- }
5060
- }
5061
-
5062
- &.bottom-left {
5063
- &:before {
5064
- border-color: transparent transparent $wac-green-color-darken transparent;
5065
- }
5066
- }
5067
- }
5068
-
5069
4828
  &:hover,
5070
4829
  &.hover {
5071
4830
  background-color: $wac-green-color-darken;
@@ -5237,9 +4996,10 @@ span.wac-tooltip {
5237
4996
  &__tooltips {
5238
4997
  position: absolute;
5239
4998
  width: auto;
5240
- padding: 10px;
5241
- background: $wizishop-blue;
5242
- color: $white;
4999
+ padding: 8px;
5000
+ border-radius: 3px;
5001
+ background: $wac-second-color !important;
5002
+ color: $wac-white;
5243
5003
  min-width: 100%;
5244
5004
  visibility: hidden;
5245
5005
  font-size: 14px;
@@ -5257,25 +5017,25 @@ span.wac-tooltip {
5257
5017
 
5258
5018
  &:before {
5259
5019
  content: '';
5260
- display: block;
5020
+ display: none!important;
5261
5021
  position: absolute;
5262
5022
  width: 0;
5263
5023
  height: 0;
5264
5024
  border-style: solid;
5265
5025
  border-width: 10px 10px 0 10px;
5266
- border-color: $wizishop-blue transparent transparent transparent;
5026
+ border-color: transparentize($wac-second-color, .1) transparent transparent transparent;
5267
5027
  }
5268
5028
 
5269
5029
  &.right {
5270
5030
  left: 100%;
5271
- transform: translate(20px, -50%);
5031
+ transform: translate(10px, -50%);
5272
5032
  top: 50%;
5273
5033
  &:before {
5274
5034
  width: 0;
5275
5035
  height: 0;
5276
5036
  border-style: solid;
5277
5037
  border-width: 10px 10px 10px 0;
5278
- border-color: transparent $wizishop-blue transparent transparent;
5038
+ border-color: transparent transparentize($wac-second-color, .1) transparent transparent;
5279
5039
  right: 100%;
5280
5040
  top: 50%;
5281
5041
  transform: translateY(-50%);
@@ -5284,14 +5044,14 @@ span.wac-tooltip {
5284
5044
 
5285
5045
  &.left {
5286
5046
  right: 100%;
5287
- transform: translate(-20px, -50%);
5047
+ transform: translate(-10px, -50%);
5288
5048
  top: 50%;
5289
5049
  &:before {
5290
5050
  width: 0;
5291
5051
  height: 0;
5292
5052
  border-style: solid;
5293
5053
  border-width: 10px 0 10px 10px;
5294
- border-color: transparent transparent transparent $wizishop-blue;
5054
+ border-color: transparent transparent transparent transparentize($wac-second-color, .1);
5295
5055
  left: 100%;
5296
5056
  top: 50%;
5297
5057
  transform: translateY(-50%);
@@ -5300,7 +5060,7 @@ span.wac-tooltip {
5300
5060
 
5301
5061
  &.top-center {
5302
5062
  left: 50%;
5303
- transform: translate(-50%, -20px);
5063
+ transform: translate(-50%, -10px);
5304
5064
  bottom: 100%;
5305
5065
  &:before {
5306
5066
  left: 50%;
@@ -5311,7 +5071,7 @@ span.wac-tooltip {
5311
5071
 
5312
5072
  &.top-right {
5313
5073
  right: 0;
5314
- transform: translate(0, -20px);
5074
+ transform: translate(0, -10px);
5315
5075
  bottom: 100%;
5316
5076
  &:before {
5317
5077
  right: 10px;
@@ -5321,7 +5081,7 @@ span.wac-tooltip {
5321
5081
 
5322
5082
  &.top-left {
5323
5083
  left: 0;
5324
- transform: translate(0, -20px);
5084
+ transform: translate(0, -10px);
5325
5085
  bottom: 100%;
5326
5086
  &:before {
5327
5087
  left: 10px;
@@ -5331,14 +5091,14 @@ span.wac-tooltip {
5331
5091
 
5332
5092
  &.bottom-center {
5333
5093
  left: 50%;
5334
- transform: translate(-50%, 20px);
5094
+ transform: translate(-50%, 10px);
5335
5095
  top: 100%;
5336
5096
  &:before {
5337
5097
  width: 0;
5338
5098
  height: 0;
5339
5099
  border-style: solid;
5340
5100
  border-width: 0 10px 10px 10px;
5341
- border-color: transparent transparent $wizishop-blue transparent;
5101
+ border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
5342
5102
  right: auto;
5343
5103
  top: auto;
5344
5104
  left: 50%;
@@ -5349,14 +5109,14 @@ span.wac-tooltip {
5349
5109
 
5350
5110
  &.bottom-right {
5351
5111
  right: 0;
5352
- transform: translate(0, 20px);
5112
+ transform: translate(0, 10px);
5353
5113
  top: 100%;
5354
5114
  &:before {
5355
5115
  width: 0;
5356
5116
  height: 0;
5357
5117
  border-style: solid;
5358
5118
  border-width: 0 10px 10px 10px;
5359
- border-color: transparent transparent $wizishop-blue transparent;
5119
+ border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
5360
5120
  top: auto;
5361
5121
  right: 10px;
5362
5122
  bottom: 100%;
@@ -5365,14 +5125,14 @@ span.wac-tooltip {
5365
5125
 
5366
5126
  &.bottom-left {
5367
5127
  left: 0;
5368
- transform: translate(0, 20px);
5128
+ transform: translate(0, 10px);
5369
5129
  top: 100%;
5370
5130
  &:before {
5371
5131
  width: 0;
5372
5132
  height: 0;
5373
5133
  border-style: solid;
5374
5134
  border-width: 0 10px 10px 10px;
5375
- border-color: transparent transparent $wizishop-blue transparent;
5135
+ border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
5376
5136
  right: auto;
5377
5137
  top: auto;
5378
5138
  left: 10px;
@@ -5385,7 +5145,7 @@ span.wac-tooltip {
5385
5145
  .wac-button {
5386
5146
  &__tooltips {
5387
5147
  visibility: visible;
5388
- opacity: 1;
5148
+ opacity: .9;
5389
5149
  transition: opacity .3s ease .05s, visibility 0s linear 0s;
5390
5150
  }
5391
5151
  }
@@ -7370,9 +7130,10 @@ div.wac-field-input-search {
7370
7130
  }
7371
7131
  }
7372
7132
  }
7373
- .wac-image {
7374
- width: 60px;
7375
- height: 60px;
7133
+ .wac-info {
7134
+ display: inline-block;
7135
+ width: 40px;
7136
+ height: 40px;
7376
7137
 
7377
7138
  &__wrapper {
7378
7139
  @include flexbox();
@@ -7380,20 +7141,48 @@ div.wac-field-input-search {
7380
7141
  @include align-items(center);
7381
7142
  width: 100%;
7382
7143
  height: 100%;
7383
- border-radius: 3px;
7384
- border: 1px solid $wac-border-light;
7385
- background-position: center;
7386
- background-size: contain;
7387
- background-repeat: no-repeat;
7144
+ position: relative;
7388
7145
 
7389
- &.empty {
7390
- background-color: $wac-gray-background;
7146
+ i {
7147
+ font-size: 14px;
7148
+ line-height: 25px;
7149
+ color: $wac-second-color;
7150
+ transition: color 0.3s ease-in-out;
7391
7151
  }
7392
7152
 
7393
- i {
7394
- color: $wac-border-form;
7395
- font-size: 25px;
7396
- line-height: 23px;
7153
+ &__sublevel {
7154
+ position: absolute;
7155
+ width: 350px;
7156
+ top: 13px;
7157
+ left: 100%;
7158
+ z-index: -1;
7159
+ opacity: 0;
7160
+ background-color: $wac-white;
7161
+ border-radius: rem(3);
7162
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
7163
+ visibility: hidden;
7164
+ transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
7165
+
7166
+ &__container {
7167
+ padding: 15px 20px;
7168
+ font-size: rem(14);
7169
+ line-height: rem(25);
7170
+ color: $wac-second-color;
7171
+ }
7172
+ }
7173
+
7174
+ &:hover {
7175
+ i {
7176
+ color: $wac-input-active-color;
7177
+ transition: color 0.3s ease-in-out;
7178
+ }
7179
+
7180
+ .wac-info__wrapper__sublevel {
7181
+ visibility: visible;
7182
+ opacity: 1;
7183
+ z-index: 2;
7184
+ transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
7185
+ }
7397
7186
  }
7398
7187
  }
7399
7188
  }