@wizishop/angular-components 0.0.232 → 0.0.233

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
+ }
1097
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
+ }
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,6 +3949,74 @@ span.wac-tooltip {
3888
3949
  border-radius: 3px;
3889
3950
  }
3890
3951
  }
3952
+ .wac-alert {
3953
+ width: 100%;
3954
+ background-color: transparentize($wac-link-color, 0.85);
3955
+ color: $wac-link-color;
3956
+ border-radius: 3px;
3957
+ display: flex;
3958
+ flex-wrap: nowrap;
3959
+ justify-content: space-between;
3960
+ padding: 20px;
3961
+ &.success {
3962
+ background-color: transparentize($wac-green-color, 0.85);
3963
+ p {
3964
+ color: $wac-p-alert-color-success;
3965
+ > * {
3966
+ color: $wac-p-alert-color-success;
3967
+ }
3968
+ }
3969
+ i {
3970
+ color: $wac-green-color;
3971
+ }
3972
+ }
3973
+ &.warning {
3974
+ background-color: transparentize($wac-primary-button, 0.85);
3975
+ p {
3976
+ color: $wac-p-alert-color-warning;
3977
+ > * {
3978
+ color: $wac-p-alert-color-warning;
3979
+ }
3980
+ }
3981
+ i {
3982
+ color: $wac-primary-button;
3983
+ }
3984
+ }
3985
+ &.alert {
3986
+ background-color: transparentize($wac-orange-color, 0.85);
3987
+ p {
3988
+ color: $wac-p-alert-color-alert;
3989
+ > * {
3990
+ color: $wac-p-alert-color-alert;
3991
+ }
3992
+ }
3993
+ i {
3994
+ color: $wac-orange-color;
3995
+ }
3996
+ }
3997
+ p {
3998
+ width: 100%;
3999
+ font-size: rem(14);
4000
+ line-height: rem(25);
4001
+ margin: 0;
4002
+ padding: 0;
4003
+ color: $wac-p-alert-color-default;
4004
+ > * {
4005
+ color: $wac-p-alert-color-default;
4006
+ }
4007
+ }
4008
+ i {
4009
+ width: auto;
4010
+ margin: 0 10px 0 0;
4011
+ color: inherit;
4012
+ font-size: rem(14);
4013
+ line-height: rem(25);
4014
+ }
4015
+
4016
+ .wac-button i {
4017
+ color: $wac-white;
4018
+ }
4019
+ }
3891
4020
  .wac-upload {
3892
4021
  width: auto;
3893
4022
  &__wrapper {
@@ -3984,185 +4113,30 @@ span.wac-tooltip {
3984
4113
  }
3985
4114
  }
3986
4115
  }
3987
- .wac-alert {
3988
- width: 100%;
3989
- background-color: transparentize($wac-link-color, 0.85);
3990
- color: $wac-link-color;
3991
- border-radius: 3px;
3992
- display: flex;
3993
- flex-wrap: nowrap;
3994
- justify-content: space-between;
3995
- padding: 20px;
3996
- &.success {
3997
- background-color: transparentize($wac-green-color, 0.85);
3998
- p {
3999
- color: $wac-p-alert-color-success;
4000
- > * {
4001
- color: $wac-p-alert-color-success;
4002
- }
4003
- }
4004
- i {
4005
- color: $wac-green-color;
4006
- }
4007
- }
4008
- &.warning {
4009
- background-color: transparentize($wac-primary-button, 0.85);
4010
- p {
4011
- color: $wac-p-alert-color-warning;
4012
- > * {
4013
- color: $wac-p-alert-color-warning;
4014
- }
4015
- }
4016
- i {
4017
- color: $wac-primary-button;
4018
- }
4019
- }
4020
- &.alert {
4021
- background-color: transparentize($wac-orange-color, 0.85);
4022
- p {
4023
- color: $wac-p-alert-color-alert;
4024
- > * {
4025
- color: $wac-p-alert-color-alert;
4026
- }
4027
- }
4028
- i {
4029
- color: $wac-orange-color;
4030
- }
4031
- }
4032
- p {
4033
- width: 100%;
4034
- font-size: rem(14);
4035
- line-height: rem(25);
4036
- margin: 0;
4037
- padding: 0;
4038
- color: $wac-p-alert-color-default;
4039
- > * {
4040
- color: $wac-p-alert-color-default;
4041
- }
4042
- }
4043
- i {
4044
- width: auto;
4045
- margin: 0 10px 0 0;
4046
- color: inherit;
4047
- font-size: rem(14);
4048
- line-height: rem(25);
4049
- }
4050
-
4051
- .wac-button i {
4052
- color: $wac-white;
4053
- }
4054
- }
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 {
4085
- 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;
4116
+ .wac-back {
4117
+ width: 40px;
4118
+ height: 40px;
4101
4119
 
4102
- &.no-uppercase {
4103
- text-transform: none;
4104
- }
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;
4105
4130
 
4106
- &.is-simple {
4107
- text-transform: none;
4108
- font-weight: 500;
4109
- }
4110
4131
  i {
4111
- font-size: 16px;
4112
- margin: 0 0 0 8px;
4113
- &.success {
4114
- color: $wac-green-color;
4115
- }
4116
- &.warning {
4117
- color: $wac-orange-color;
4118
- }
4119
- &.danger {
4120
- color: $wac-primary-button;
4121
- }
4122
- }
4123
- }
4124
-
4125
- &:hover {
4126
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
4127
- }
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;
4150
- }
4151
- }
4152
-
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
- }
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
  }
@@ -7370,9 +7344,10 @@ div.wac-field-input-search {
7370
7344
  }
7371
7345
  }
7372
7346
  }
7373
- .wac-image {
7374
- width: 60px;
7375
- height: 60px;
7347
+ .wac-info {
7348
+ display: inline-block;
7349
+ width: 40px;
7350
+ height: 40px;
7376
7351
 
7377
7352
  &__wrapper {
7378
7353
  @include flexbox();
@@ -7380,20 +7355,48 @@ div.wac-field-input-search {
7380
7355
  @include align-items(center);
7381
7356
  width: 100%;
7382
7357
  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;
7358
+ position: relative;
7388
7359
 
7389
- &.empty {
7390
- background-color: $wac-gray-background;
7360
+ i {
7361
+ font-size: 14px;
7362
+ line-height: 25px;
7363
+ color: $wac-second-color;
7364
+ transition: color 0.3s ease-in-out;
7391
7365
  }
7392
7366
 
7393
- i {
7394
- color: $wac-border-form;
7395
- font-size: 25px;
7396
- line-height: 23px;
7367
+ &__sublevel {
7368
+ position: absolute;
7369
+ width: 350px;
7370
+ top: 13px;
7371
+ left: 100%;
7372
+ z-index: -1;
7373
+ opacity: 0;
7374
+ background-color: $wac-white;
7375
+ border-radius: rem(3);
7376
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
7377
+ visibility: hidden;
7378
+ transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
7379
+
7380
+ &__container {
7381
+ padding: 15px 20px;
7382
+ font-size: rem(14);
7383
+ line-height: rem(25);
7384
+ color: $wac-second-color;
7385
+ }
7386
+ }
7387
+
7388
+ &:hover {
7389
+ i {
7390
+ color: $wac-input-active-color;
7391
+ transition: color 0.3s ease-in-out;
7392
+ }
7393
+
7394
+ .wac-info__wrapper__sublevel {
7395
+ visibility: visible;
7396
+ opacity: 1;
7397
+ z-index: 2;
7398
+ transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
7399
+ }
7397
7400
  }
7398
7401
  }
7399
7402
  }
@@ -4329,7 +4329,7 @@
4329
4329
  TokenCheckComponent.decorators = [
4330
4330
  { type: i0.Component, args: [{
4331
4331
  selector: 'wac-token-check',
4332
- template: "<div class=\"wac-token-check\">\n <span [innerHTML]=\"label\"></span> : <span [innerHTML]=\"value\" [ngClass]=\"{'warning': value > max}\"></span> / <strong [innerHTML]=\"max\"></strong>\n</div>\n"
4332
+ template: "<div class=\"wac-token-check\">\n <span [innerHTML]=\"label\"></span> : <span [innerHTML]=\"value\" [ngClass]=\"{'warning': value > max}\"></span>/<strong [innerHTML]=\"max\"></strong>\n</div>\n"
4333
4333
  },] }
4334
4334
  ];
4335
4335
  TokenCheckComponent.ctorParameters = function () { return []; };