@wizishop/angular-components 0.0.228 → 0.0.232

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,117 +1080,30 @@ $wac-subtitle-color: #7A87A1!default;
1080
1080
  }
1081
1081
  }
1082
1082
  }
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;
1090
-
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;
1083
+ }.wac-back {
1084
+ width: 40px;
1085
+ height: 40px;
1129
1086
 
1130
- &.no-uppercase {
1131
- text-transform: none;
1132
- }
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;
1133
1097
 
1134
- &.is-simple {
1135
- text-transform: none;
1136
- font-weight: 500;
1137
- }
1138
1098
  i {
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
- }
1099
+ color: $wac-second-color;
1100
+ font-size: 11px;
1101
+ line-height: 14px;
1190
1102
  }
1191
1103
 
1192
1104
  &:hover {
1193
- box-shadow: none;
1105
+ border-color: $wac-back-border-hover;
1106
+ transition: border-color 0.3s ease-in-out;
1194
1107
  }
1195
1108
  }
1196
1109
  }
@@ -2188,7 +2101,7 @@ $wac-subtitle-color: #7A87A1!default;
2188
2101
  width: 100%;
2189
2102
  max-width: calc(100% - 150px);
2190
2103
  &__count {
2191
- margin: 10px 0 0;
2104
+ margin: 0;
2192
2105
  width: 100%;
2193
2106
  display: flex;
2194
2107
  align-items: flex-end;
@@ -3152,9 +3065,10 @@ $wac-subtitle-color: #7A87A1!default;
3152
3065
  }
3153
3066
  }
3154
3067
  }
3155
- .wac-image {
3156
- width: 60px;
3157
- height: 60px;
3068
+ .wac-info {
3069
+ display: inline-block;
3070
+ width: 40px;
3071
+ height: 40px;
3158
3072
 
3159
3073
  &__wrapper {
3160
3074
  @include flexbox();
@@ -3162,20 +3076,48 @@ $wac-subtitle-color: #7A87A1!default;
3162
3076
  @include align-items(center);
3163
3077
  width: 100%;
3164
3078
  height: 100%;
3165
- border-radius: 3px;
3166
- border: 1px solid $wac-border-light;
3167
- background-position: center;
3168
- background-size: contain;
3169
- background-repeat: no-repeat;
3079
+ position: relative;
3170
3080
 
3171
- &.empty {
3172
- background-color: $wac-gray-background;
3081
+ i {
3082
+ font-size: 14px;
3083
+ line-height: 25px;
3084
+ color: $wac-second-color;
3085
+ transition: color 0.3s ease-in-out;
3173
3086
  }
3174
3087
 
3175
- i {
3176
- color: $wac-border-form;
3177
- font-size: 25px;
3178
- line-height: 23px;
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;
3100
+
3101
+ &__container {
3102
+ padding: 15px 20px;
3103
+ font-size: rem(14);
3104
+ line-height: rem(25);
3105
+ color: $wac-second-color;
3106
+ }
3107
+ }
3108
+
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
+ }
3179
3121
  }
3180
3122
  }
3181
3123
  }
@@ -3260,9 +3202,12 @@ $wac-subtitle-color: #7A87A1!default;
3260
3202
  }
3261
3203
 
3262
3204
  textarea {
3263
- &.is-danger {
3205
+ &.is-danger:not(.is-empty) {
3264
3206
  border-color: $wac-primary-button !important;
3265
3207
  }
3208
+ &[disabled] {
3209
+ background-color: $wac-tag-default !important;
3210
+ }
3266
3211
  }
3267
3212
  textarea:focus {
3268
3213
  border-color: $wizishop-blue !important;
@@ -3296,6 +3241,9 @@ $wac-subtitle-color: #7A87A1!default;
3296
3241
  max-height: rem(80);
3297
3242
  min-height: rem(80);
3298
3243
 
3244
+ &[disabled] {
3245
+ background-color: $wac-tag-default !important;
3246
+ }
3299
3247
  &::placeholder {
3300
3248
  color: $wac-placeholder;
3301
3249
  font-weight: 400;
@@ -3940,74 +3888,6 @@ span.wac-tooltip {
3940
3888
  border-radius: 3px;
3941
3889
  }
3942
3890
  }
3943
- .wac-alert {
3944
- width: 100%;
3945
- background-color: transparentize($wac-link-color, 0.85);
3946
- color: $wac-link-color;
3947
- border-radius: 3px;
3948
- display: flex;
3949
- flex-wrap: nowrap;
3950
- justify-content: space-between;
3951
- padding: 20px;
3952
- &.success {
3953
- background-color: transparentize($wac-green-color, 0.85);
3954
- p {
3955
- color: $wac-p-alert-color-success;
3956
- > * {
3957
- color: $wac-p-alert-color-success;
3958
- }
3959
- }
3960
- i {
3961
- color: $wac-green-color;
3962
- }
3963
- }
3964
- &.warning {
3965
- background-color: transparentize($wac-primary-button, 0.85);
3966
- p {
3967
- color: $wac-p-alert-color-warning;
3968
- > * {
3969
- color: $wac-p-alert-color-warning;
3970
- }
3971
- }
3972
- i {
3973
- color: $wac-primary-button;
3974
- }
3975
- }
3976
- &.alert {
3977
- background-color: transparentize($wac-orange-color, 0.85);
3978
- p {
3979
- color: $wac-p-alert-color-alert;
3980
- > * {
3981
- color: $wac-p-alert-color-alert;
3982
- }
3983
- }
3984
- i {
3985
- color: $wac-orange-color;
3986
- }
3987
- }
3988
- p {
3989
- width: 100%;
3990
- font-size: rem(14);
3991
- line-height: rem(25);
3992
- margin: 0;
3993
- padding: 0;
3994
- color: $wac-p-alert-color-default;
3995
- > * {
3996
- color: $wac-p-alert-color-default;
3997
- }
3998
- }
3999
- i {
4000
- width: auto;
4001
- margin: 0 10px 0 0;
4002
- color: inherit;
4003
- font-size: rem(14);
4004
- line-height: rem(25);
4005
- }
4006
-
4007
- .wac-button i {
4008
- color: $wac-white;
4009
- }
4010
- }
4011
3891
  .wac-upload {
4012
3892
  width: auto;
4013
3893
  &__wrapper {
@@ -4104,30 +3984,185 @@ span.wac-tooltip {
4104
3984
  }
4105
3985
  }
4106
3986
  }
4107
- .wac-back {
4108
- width: 40px;
4109
- height: 40px;
4110
-
4111
- &__wrapper {
4112
- @include flexbox();
4113
- @include justify-content(center);
4114
- @include align-items(center);
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 {
4115
4033
  width: 100%;
4116
- height: 100%;
4117
- border-radius: 3px;
4118
- border: 1px solid $wac-border-light;
4119
- background-color: transparent;
4120
- transition: border-color 0.3s ease-in-out;
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;
4101
+
4102
+ &.no-uppercase {
4103
+ text-transform: none;
4104
+ }
4121
4105
 
4106
+ &.is-simple {
4107
+ text-transform: none;
4108
+ font-weight: 500;
4109
+ }
4122
4110
  i {
4123
- color: $wac-second-color;
4124
- font-size: 11px;
4125
- line-height: 14px;
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
+ }
4126
4162
  }
4127
4163
 
4128
4164
  &:hover {
4129
- border-color: $wac-back-border-hover;
4130
- transition: border-color 0.3s ease-in-out;
4165
+ box-shadow: none;
4131
4166
  }
4132
4167
  }
4133
4168
  }
@@ -4171,7 +4206,7 @@ span.wac-tooltip {
4171
4206
 
4172
4207
  &.is-green.opacity {
4173
4208
  background-color: $wac-tag-success-light;
4174
- border-color: $wac-tag-success-light;
4209
+ border-color: transparent!important;
4175
4210
  transition: .3s;
4176
4211
  i {
4177
4212
  color: $wac-tag-success;
@@ -4192,7 +4227,7 @@ span.wac-tooltip {
4192
4227
 
4193
4228
  &.is-blue.opacity {
4194
4229
  background-color: $wac-wizishop-blue-button-light;
4195
- border-color: $wac-wizishop-blue-button-light;
4230
+ border-color: transparent!important;
4196
4231
  transition: .3s;
4197
4232
  i {
4198
4233
  color: $wac-wizishop-blue-button;
@@ -4538,7 +4573,7 @@ span.wac-tooltip {
4538
4573
 
4539
4574
  &.opacity {
4540
4575
  background-color: $wac-wizishop-blue-button-light;
4541
- border-color: $wac-wizishop-blue-button-light;
4576
+ border-color: transparent!important;
4542
4577
 
4543
4578
  i {
4544
4579
  color: $wac-wizishop-blue-button;
@@ -4962,7 +4997,7 @@ span.wac-tooltip {
4962
4997
 
4963
4998
  &.opacity {
4964
4999
  background-color: $wac-primary-button-light;
4965
- border-color: $wac-primary-button-light;
5000
+ border-color: transparent!important;
4966
5001
  &:hover, &:focus {
4967
5002
  background-color: $wac-primary-button;
4968
5003
  border-color: $wac-primary-button;
@@ -5077,7 +5112,7 @@ span.wac-tooltip {
5077
5112
  }
5078
5113
  &.opacity {
5079
5114
  background-color: $wac-green-opacity;
5080
- border-color: $wac-green-opacity;
5115
+ border-color: transparent!important;
5081
5116
  &:hover, &:focus {
5082
5117
  background-color: $wac-green-color;
5083
5118
  border-color: $wac-green-color;
@@ -5168,6 +5203,7 @@ span.wac-tooltip {
5168
5203
  &.opacity {
5169
5204
  min-width: rem(40);
5170
5205
  min-height: rem(40);
5206
+ border-color: transparent!important;
5171
5207
 
5172
5208
  &.alone {
5173
5209
  display: flex;
@@ -7001,7 +7037,7 @@ div.wac-field-input-search {
7001
7037
  &.remove-margin {
7002
7038
  margin-bottom: 0;
7003
7039
  }
7004
- &.is-danger {
7040
+ &.is-danger:not(.is-empty) {
7005
7041
  border-color: $wac-primary-button !important;
7006
7042
  }
7007
7043
  }
@@ -7334,10 +7370,9 @@ div.wac-field-input-search {
7334
7370
  }
7335
7371
  }
7336
7372
  }
7337
- .wac-info {
7338
- display: inline-block;
7339
- width: 40px;
7340
- height: 40px;
7373
+ .wac-image {
7374
+ width: 60px;
7375
+ height: 60px;
7341
7376
 
7342
7377
  &__wrapper {
7343
7378
  @include flexbox();
@@ -7345,48 +7380,20 @@ div.wac-field-input-search {
7345
7380
  @include align-items(center);
7346
7381
  width: 100%;
7347
7382
  height: 100%;
7348
- position: relative;
7349
-
7350
- i {
7351
- font-size: 14px;
7352
- line-height: 25px;
7353
- color: $wac-second-color;
7354
- transition: color 0.3s ease-in-out;
7355
- }
7356
-
7357
- &__sublevel {
7358
- position: absolute;
7359
- width: 350px;
7360
- top: 13px;
7361
- left: 100%;
7362
- z-index: -1;
7363
- opacity: 0;
7364
- background-color: $wac-white;
7365
- border-radius: rem(3);
7366
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
7367
- visibility: hidden;
7368
- transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
7383
+ border-radius: 3px;
7384
+ border: 1px solid $wac-border-light;
7385
+ background-position: center;
7386
+ background-size: contain;
7387
+ background-repeat: no-repeat;
7369
7388
 
7370
- &__container {
7371
- padding: 15px 20px;
7372
- font-size: rem(14);
7373
- line-height: rem(25);
7374
- color: $wac-second-color;
7375
- }
7389
+ &.empty {
7390
+ background-color: $wac-gray-background;
7376
7391
  }
7377
7392
 
7378
- &:hover {
7379
- i {
7380
- color: $wac-input-active-color;
7381
- transition: color 0.3s ease-in-out;
7382
- }
7383
-
7384
- .wac-info__wrapper__sublevel {
7385
- visibility: visible;
7386
- opacity: 1;
7387
- z-index: 2;
7388
- transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
7389
- }
7393
+ i {
7394
+ color: $wac-border-form;
7395
+ font-size: 25px;
7396
+ line-height: 23px;
7390
7397
  }
7391
7398
  }
7392
7399
  }