@wizishop/angular-components 0.0.222 → 0.0.224

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,118 +1080,139 @@ $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%;
1083
+ }.block-with-checkbox {
1084
+ width: 100%;
1085
+ display: flex;
1086
+ align-items: center;
1087
+ background-color: $wac-white;
1088
+ box-shadow: 0px 2px 6px #0000000D;
1089
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;
1090
+ margin: 0 0 15px;
1091
+ padding: 30px;
1092
+ border: 2px solid transparent;
1093
+ transition: .3s ease;
1094
+ opacity: .45;
1095
+ &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
1096
+ border-color: $wac-input-active-color;
1097
+ opacity: 1!important;
1101
1098
  }
1102
-
1103
- &.sticky {
1104
- position: sticky;
1105
- top: 20px;
1099
+ &.firstWacRadioBLock:not(.disabled) {
1100
+ opacity: 1!important;
1106
1101
  }
1107
-
1108
- &.noFullHeight {
1109
- height: auto;
1102
+ @include media('<tablet') {
1103
+ padding: 20px;
1104
+ flex-direction: column;
1105
+ align-items: center;
1106
+ justify-content: flex-start;
1110
1107
  }
1111
-
1112
- &.stretch {
1108
+ &__left {
1109
+ width: 30px;
1110
+ margin: 0 20px 0 0;
1113
1111
  display: flex;
1114
- flex-wrap: wrap;
1115
- .wac-block__content {
1116
- display: flex;
1112
+ align-items: center;
1113
+ cursor: pointer;
1114
+ @include media('<tablet') {
1115
+ margin: 0 0 20px;
1117
1116
  }
1118
1117
  }
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;
1118
+ &__center {
1119
+ width: 100%;
1120
+ cursor: pointer;
1121
+ }
1122
+ &:hover:not(.disabled), &:focus:not(.disabled) {
1123
+ input + label {
1124
+ &:before {
1125
+ border-color: $wac-input-active-color !important;
1126
+ }
1132
1127
  }
1128
+ }
1129
+ }
1133
1130
 
1134
- &.is-simple {
1135
- text-transform: none;
1136
- font-weight: 500;
1137
- }
1138
- i {
1139
- font-size: 16px;
1140
- margin: 0 0 0 8px;
1141
- &.success {
1142
- color: $wac-green-color;
1131
+ .wac-radio-block {
1132
+ width: 22px!important;
1133
+ height: 22px;
1134
+ input {
1135
+ outline: 0 !important;
1136
+ display: none;
1137
+ & + label {
1138
+ margin: 0 30px 0 0;
1139
+ position: relative;
1140
+ cursor: pointer;
1141
+ display: block;
1142
+ width: 22px;
1143
+ height: 22px;
1144
+ padding: 0!important;
1145
+ &:before {
1146
+ content: '';
1147
+ display: block;
1148
+ position: absolute;
1149
+ width: 22px;
1150
+ height: 22px;
1151
+ border: 1px solid $wac-border-form;
1152
+ border-radius: 23px;
1153
+ top: 0;
1154
+ left: 0;
1143
1155
  }
1144
- &.warning {
1145
- color: $wac-orange-color;
1156
+ &:after {
1157
+ content: "";
1158
+ display: block;
1159
+ position: absolute;
1160
+ width: 16px;
1161
+ height: 16px;
1162
+ border-radius: 23px;
1163
+ background: $wac-input-active-color;
1164
+ top: 50%;
1165
+ left: 50%;
1166
+ transform: translate(-50%, -50%);
1167
+ opacity: 0;
1146
1168
  }
1147
- &.danger {
1148
- color: $wac-primary-button;
1169
+ &:before,
1170
+ &:after {
1171
+ outline: 0 !important;
1172
+ }
1173
+ &:hover,
1174
+ &:focus {
1175
+ &:before {
1176
+ border-color: $wac-input-active-color !important;
1177
+ }
1149
1178
  }
1150
1179
  }
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;
1180
+ &:hover {
1181
+ & + label {
1182
+ color: $wac-input-radio-color-active-label;
1183
+ &:before {
1184
+ border-color: $wac-input-active-color !important;
1185
+ }
1186
+ }
1187
+ &:not([disabled]) {
1188
+ & + label {
1189
+ &:before {
1190
+ border-color: $wac-input-active-color !important;
1191
+ }
1192
+ }
1178
1193
  }
1179
1194
  }
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);
1195
+ &:checked + label {
1196
+ color: $wac-input-radio-color-active-label;
1197
+ &:before {
1198
+ border-color: $wac-input-active-color!important;
1199
+ }
1200
+ &:after {
1201
+ opacity: 1;
1189
1202
  }
1190
1203
  }
1204
+ }
1191
1205
 
1192
- &:hover {
1193
- box-shadow: none;
1194
- }
1206
+
1207
+ .wac-radio__row {
1208
+ min-width: 100%;
1209
+ margin: 0;
1210
+ height: 22px;
1211
+ }
1212
+
1213
+ label {
1214
+ padding-left: 7px;
1215
+ margin-right: 0;
1195
1216
  }
1196
1217
  }
1197
1218
  .wac-separator {
@@ -1213,19 +1234,34 @@ $wac-subtitle-color: #7A87A1!default;
1213
1234
  border-radius: 3px;
1214
1235
 
1215
1236
  @include media('<tablet') {
1216
- max-width: 100%;
1217
- overflow: hidden;
1237
+ &:not(.no-responsive) {
1238
+ max-width: 100%;
1239
+ overflow: hidden;
1240
+ .wac-breadcrumbs {
1241
+ &__wrapper {
1242
+ @include media('<tablet') {
1243
+ width: auto;
1244
+ overflow-x: scroll;
1245
+ }
1246
+ }
1247
+ &__item {
1248
+ @include media('<tablet') {
1249
+ width: auto;
1250
+ min-width: unset;
1251
+ max-width: unset;
1252
+ .name {
1253
+ white-space: nowrap;
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1218
1259
  }
1219
1260
 
1220
1261
  &__wrapper {
1221
1262
  width: 100%;
1222
1263
  display: flex;
1223
1264
  align-items: center;
1224
-
1225
- @include media('<tablet') {
1226
- width: auto;
1227
- overflow-x: scroll;
1228
- }
1229
1265
  }
1230
1266
 
1231
1267
  &__item {
@@ -1259,14 +1295,6 @@ $wac-subtitle-color: #7A87A1!default;
1259
1295
  height: 5px;
1260
1296
  }
1261
1297
  }
1262
- @include media('<tablet') {
1263
- width: auto;
1264
- min-width: unset;
1265
- max-width: unset;
1266
- .name {
1267
- white-space: nowrap;
1268
- }
1269
- }
1270
1298
  .round {
1271
1299
  min-width: 30px;
1272
1300
  height: 30px;
@@ -1941,115 +1969,174 @@ $wac-subtitle-color: #7A87A1!default;
1941
1969
  }
1942
1970
 
1943
1971
  }
1944
- .wac-card-price {
1945
- width: 100%;
1946
- padding: 30px;
1947
- border-radius: 3px;
1948
- background-color: $wac-white;
1949
- display: flex;
1950
- flex-direction: column;
1951
- border: 1px solid $wac-white;
1952
-
1953
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
1954
-
1955
- &.selected {
1956
- border: 1px solid $wac-tag-success;
1957
- }
1958
-
1959
- &:hover {
1960
- box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
1961
- }
1962
-
1963
- @include media('<desktop') {
1964
- padding: 30px;
1972
+ .wac-field-checkbox {
1973
+ &.disable-wt {
1974
+ .wac-field-checkbox__row {
1975
+ display: flex;
1976
+ width: 100%;
1977
+ }
1978
+ .is-checkradio[type='checkbox'] {
1979
+ & + label {
1980
+ white-space: normal;
1981
+ line-height: 1.4;
1982
+ padding: 0;
1983
+ > span {
1984
+ margin: 0 0 0 30px;
1985
+ transform: translateY(-4px);
1986
+ }
1987
+ }
1988
+ }
1965
1989
  }
1966
-
1967
- @include media('<tablet') {
1968
- padding: 20px;
1990
+ &__row {
1991
+ position: relative;
1992
+ min-width: 100%;
1993
+ margin: 0;
1969
1994
  }
1970
-
1971
- .cta {
1972
- min-height: 40px;
1995
+ &--nowrap {
1996
+ display: inline-block;
1997
+ width: auto;
1998
+ min-width: 0;
1999
+ margin: 0 10px 10px 0;
2000
+ .field {
2001
+ &__row {
2002
+ width: auto;
2003
+ display: inline-block;
2004
+ margin: 0;
2005
+ }
2006
+ }
1973
2007
  }
1974
2008
 
1975
- > strong {
1976
- font-size: rem(40);
1977
- line-height: rem(47);
1978
- text-align: center;
1979
- display: block;
1980
- width: 100%;
1981
- font-weight: 600;
1982
- margin: 0 0 -5px;
2009
+ input[type='text'] {
2010
+ height: 40px;
2011
+ max-height: 40px;
2012
+ padding: 0 20px;
2013
+ line-height: 40px;
2014
+ border: 1px solid $wac-border-form;
2015
+ border-radius: 3px;
2016
+ margin: 15px 0 10px !important;
2017
+ font-size: rem(14) !important;
2018
+ color: $wac-main-text;
2019
+ &:focus {
2020
+ border-color: $wac-wizishop-blue !important;
2021
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
2022
+ &::-webkit-input-placeholder {
2023
+ /* Chrome/Opera/Safari */
2024
+ opacity: 0;
2025
+ }
2026
+ &::-moz-placeholder {
2027
+ /* Firefox 19+ */
2028
+ opacity: 0;
2029
+ }
2030
+ &:-ms-input-placeholder {
2031
+ /* IE 10+ */
2032
+ opacity: 0;
2033
+ }
2034
+ &:-moz-placeholder {
2035
+ /* Firefox 18- */
2036
+ opacity: 0;
2037
+ }
2038
+ }
1983
2039
  }
2040
+ &.alone {
2041
+ .is-checkradio[type='checkbox'] {
2042
+ & + label {
2043
+ padding-left: 9px;
2044
+ margin-right: 0px;
1984
2045
 
1985
- > p {
1986
- font-size: rem(20);
1987
- text-transform: uppercase;
1988
- margin: 0 0 20px;
1989
- text-align: center;
1990
- display: block;
1991
- width: 100%;
1992
- font-weight: 600;
2046
+ &:before {
2047
+ border-width: 1px;
2048
+ width: 16px;
2049
+ height: 16px;
2050
+ border-radius: 2px;
2051
+ }
2052
+ }
2053
+ &:checked + label {
2054
+ &:after {
2055
+ top: 7px;
2056
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2057
+ }
2058
+ }
2059
+ }
1993
2060
  }
1994
2061
 
1995
- .price {
1996
- display: flex;
1997
- align-items: flex-end;
1998
- width: 100%;
1999
- justify-content: center;
2000
- position: relative;
2001
- color: $wac-tag-success;
2002
- margin: 0 0 5px;
2003
-
2004
- .amount {
2005
- font-size: rem(50);
2006
- font-weight: 600;
2007
- margin: 0 5px 0 0;
2008
- position: relative;
2009
- line-height: 1;
2062
+ .is-checkradio[type='checkbox'] {
2063
+ outline: 0 !important;
2064
+ top: 0;
2065
+ & + label {
2066
+ font-size: rem(14);
2067
+ line-height: 0;
2068
+ color: $wac-input-radio-color-label;
2069
+ white-space: nowrap;
2070
+ padding: 0 8px;
2071
+ margin-right: 0;
2072
+ outline: 0 !important;
2073
+ &:before {
2074
+ width: 16px;
2075
+ height: 16px;
2076
+ border: 1px solid $wac-border-color;
2077
+ top: 0;
2078
+ transition: all 0.3s ease-in-out;
2079
+ }
2080
+ &:after {
2081
+ top: 2.3px !important;
2082
+ left: 3px !important;
2083
+ width: 10px;
2084
+ height: 12px;
2085
+ border: none !important;
2086
+ background: transparent
2087
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
2088
+ center center / 8px 8px no-repeat;
2089
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2090
+ transition: all 0.3s ease-in-out;
2091
+ }
2010
2092
  span {
2011
- position: absolute;
2012
- top: 5px;
2013
- left: 100%;
2014
- margin: 0 0 0 3px;
2015
- display: block;
2016
- font-size: rem(20);
2093
+ margin: 0 0 0 rem(16);
2094
+ display: inline-block;
2095
+ }
2096
+ &:hover,
2097
+ &:focus {
2098
+ &:before {
2099
+ border-color: $wac-input-active-color !important;
2100
+ }
2101
+ }
2102
+ &:before,
2103
+ &:after {
2104
+ outline: 0 !important;
2105
+ }
2106
+ }
2107
+ &:hover {
2108
+ & + label {
2109
+ color: $wac-input-radio-color-active-label;
2110
+ &:before {
2111
+ border-color: $wac-input-active-color !important;
2112
+ }
2113
+ &:after {
2114
+ border-color: $wac-white !important;
2115
+ }
2116
+ }
2117
+ &:not([disabled]) {
2118
+ & + label {
2119
+ &:before {
2120
+ border-color: $wac-input-active-color !important;
2121
+ }
2122
+ }
2017
2123
  }
2018
2124
  }
2019
-
2020
- .month {
2021
- font-size: rem(20);
2022
- margin: 0;
2023
- font-weight: 500;
2024
- line-height: 1;
2025
- transform: translateY(-5px);
2026
- }
2027
- }
2028
-
2029
- .subtitle, .package-subtitle {
2030
- font-size: rem(12);
2031
- color: $wac-subtitle-color;
2032
- margin: 0 0 30px;
2033
- text-align: center;
2034
- font-style: italic;
2035
- }
2036
-
2037
- .subtitle {
2038
- &:last-child {
2039
- margin: 0;
2125
+ &:checked + label {
2126
+ color: $wac-input-radio-color-active-label;
2127
+ &:before {
2128
+ border: 1px solid $wac-input-active-color;
2129
+ background-color: $wac-input-active-color;
2130
+ transition: all 0.3s ease-in-out;
2131
+ }
2132
+ &:after {
2133
+ left: 7px;
2134
+ top: 8px;
2135
+ transition: all 0.3s ease-in-out;
2136
+ }
2040
2137
  }
2041
2138
  }
2042
2139
 
2043
- .package-subtitle {
2044
- margin: 10px 0 30px;
2045
- }
2046
-
2047
- .link-bottom {
2048
- margin: 0;
2049
- display: flex;
2050
- justify-content: center;
2051
- width: 100%;
2052
- }
2053
2140
  }
2054
2141
  .wac-state {
2055
2142
  width: 12px;
@@ -6090,174 +6177,115 @@ h4.wac-h4 {
6090
6177
  color: $wac-second-color;
6091
6178
  }
6092
6179
  }
6093
- .wac-field-checkbox {
6094
- &.disable-wt {
6095
- .wac-field-checkbox__row {
6096
- display: flex;
6097
- width: 100%;
6098
- }
6099
- .is-checkradio[type='checkbox'] {
6100
- & + label {
6101
- white-space: normal;
6102
- line-height: 1.4;
6103
- padding: 0;
6104
- > span {
6105
- margin: 0 0 0 30px;
6106
- transform: translateY(-4px);
6107
- }
6108
- }
6109
- }
6180
+ .wac-card-price {
6181
+ width: 100%;
6182
+ padding: 30px;
6183
+ border-radius: 3px;
6184
+ background-color: $wac-white;
6185
+ display: flex;
6186
+ flex-direction: column;
6187
+ border: 1px solid $wac-white;
6188
+
6189
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
6190
+
6191
+ &.selected {
6192
+ border: 1px solid $wac-tag-success;
6110
6193
  }
6111
- &__row {
6112
- position: relative;
6113
- min-width: 100%;
6114
- margin: 0;
6194
+
6195
+ &:hover {
6196
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
6115
6197
  }
6116
- &--nowrap {
6117
- display: inline-block;
6118
- width: auto;
6119
- min-width: 0;
6120
- margin: 0 10px 10px 0;
6121
- .field {
6122
- &__row {
6123
- width: auto;
6124
- display: inline-block;
6125
- margin: 0;
6126
- }
6127
- }
6198
+
6199
+ @include media('<desktop') {
6200
+ padding: 30px;
6128
6201
  }
6129
6202
 
6130
- input[type='text'] {
6131
- height: 40px;
6132
- max-height: 40px;
6133
- padding: 0 20px;
6134
- line-height: 40px;
6135
- border: 1px solid $wac-border-form;
6136
- border-radius: 3px;
6137
- margin: 15px 0 10px !important;
6138
- font-size: rem(14) !important;
6139
- color: $wac-main-text;
6140
- &:focus {
6141
- border-color: $wac-wizishop-blue !important;
6142
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
6143
- &::-webkit-input-placeholder {
6144
- /* Chrome/Opera/Safari */
6145
- opacity: 0;
6146
- }
6147
- &::-moz-placeholder {
6148
- /* Firefox 19+ */
6149
- opacity: 0;
6150
- }
6151
- &:-ms-input-placeholder {
6152
- /* IE 10+ */
6153
- opacity: 0;
6154
- }
6155
- &:-moz-placeholder {
6156
- /* Firefox 18- */
6157
- opacity: 0;
6158
- }
6159
- }
6203
+ @include media('<tablet') {
6204
+ padding: 20px;
6160
6205
  }
6161
- &.alone {
6162
- .is-checkradio[type='checkbox'] {
6163
- & + label {
6164
- padding-left: 9px;
6165
- margin-right: 0px;
6166
6206
 
6167
- &:before {
6168
- border-width: 1px;
6169
- width: 16px;
6170
- height: 16px;
6171
- border-radius: 2px;
6172
- }
6173
- }
6174
- &:checked + label {
6175
- &:after {
6176
- top: 7px;
6177
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
6178
- }
6179
- }
6180
- }
6207
+ .cta {
6208
+ min-height: 40px;
6181
6209
  }
6182
6210
 
6183
- .is-checkradio[type='checkbox'] {
6184
- outline: 0 !important;
6185
- top: 0;
6186
- & + label {
6187
- font-size: rem(14);
6188
- line-height: 0;
6189
- color: $wac-input-radio-color-label;
6190
- white-space: nowrap;
6191
- padding: 0 8px;
6192
- margin-right: 0;
6193
- outline: 0 !important;
6194
- &:before {
6195
- width: 16px;
6196
- height: 16px;
6197
- border: 1px solid $wac-border-color;
6198
- top: 0;
6199
- transition: all 0.3s ease-in-out;
6200
- }
6201
- &:after {
6202
- top: 2.3px !important;
6203
- left: 3px !important;
6204
- width: 10px;
6205
- height: 12px;
6206
- border: none !important;
6207
- background: transparent
6208
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
6209
- center center / 8px 8px no-repeat;
6210
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
6211
- transition: all 0.3s ease-in-out;
6212
- }
6211
+ > strong {
6212
+ font-size: rem(40);
6213
+ line-height: rem(47);
6214
+ text-align: center;
6215
+ display: block;
6216
+ width: 100%;
6217
+ font-weight: 600;
6218
+ margin: 0 0 -5px;
6219
+ }
6220
+
6221
+ > p {
6222
+ font-size: rem(20);
6223
+ text-transform: uppercase;
6224
+ margin: 0 0 20px;
6225
+ text-align: center;
6226
+ display: block;
6227
+ width: 100%;
6228
+ font-weight: 600;
6229
+ }
6230
+
6231
+ .price {
6232
+ display: flex;
6233
+ align-items: flex-end;
6234
+ width: 100%;
6235
+ justify-content: center;
6236
+ position: relative;
6237
+ color: $wac-tag-success;
6238
+ margin: 0 0 5px;
6239
+
6240
+ .amount {
6241
+ font-size: rem(50);
6242
+ font-weight: 600;
6243
+ margin: 0 5px 0 0;
6244
+ position: relative;
6245
+ line-height: 1;
6213
6246
  span {
6214
- margin: 0 0 0 rem(16);
6215
- display: inline-block;
6216
- }
6217
- &:hover,
6218
- &:focus {
6219
- &:before {
6220
- border-color: $wac-input-active-color !important;
6221
- }
6222
- }
6223
- &:before,
6224
- &:after {
6225
- outline: 0 !important;
6226
- }
6227
- }
6228
- &:hover {
6229
- & + label {
6230
- color: $wac-input-radio-color-active-label;
6231
- &:before {
6232
- border-color: $wac-input-active-color !important;
6233
- }
6234
- &:after {
6235
- border-color: $wac-white !important;
6236
- }
6237
- }
6238
- &:not([disabled]) {
6239
- & + label {
6240
- &:before {
6241
- border-color: $wac-input-active-color !important;
6242
- }
6243
- }
6247
+ position: absolute;
6248
+ top: 5px;
6249
+ left: 100%;
6250
+ margin: 0 0 0 3px;
6251
+ display: block;
6252
+ font-size: rem(20);
6244
6253
  }
6245
6254
  }
6246
- &:checked + label {
6247
- color: $wac-input-radio-color-active-label;
6248
- &:before {
6249
- border: 1px solid $wac-input-active-color;
6250
- background-color: $wac-input-active-color;
6251
- transition: all 0.3s ease-in-out;
6252
- }
6253
- &:after {
6254
- left: 7px;
6255
- top: 8px;
6256
- transition: all 0.3s ease-in-out;
6257
- }
6255
+
6256
+ .month {
6257
+ font-size: rem(20);
6258
+ margin: 0;
6259
+ font-weight: 500;
6260
+ line-height: 1;
6261
+ transform: translateY(-5px);
6262
+ }
6263
+ }
6264
+
6265
+ .subtitle, .package-subtitle {
6266
+ font-size: rem(12);
6267
+ color: $wac-subtitle-color;
6268
+ margin: 0 0 30px;
6269
+ text-align: center;
6270
+ font-style: italic;
6271
+ }
6272
+
6273
+ .subtitle {
6274
+ &:last-child {
6275
+ margin: 0;
6258
6276
  }
6259
6277
  }
6260
6278
 
6279
+ .package-subtitle {
6280
+ margin: 10px 0 30px;
6281
+ }
6282
+
6283
+ .link-bottom {
6284
+ margin: 0;
6285
+ display: flex;
6286
+ justify-content: center;
6287
+ width: 100%;
6288
+ }
6261
6289
  }
6262
6290
  .wac-filters {
6263
6291
  width: 100%;
@@ -7413,139 +7441,118 @@ div.wac-field-input-search {
7413
7441
  }
7414
7442
  }
7415
7443
  }
7416
- .block-with-checkbox {
7417
- width: 100%;
7418
- display: flex;
7419
- align-items: center;
7420
- background-color: $wac-white;
7421
- box-shadow: 0px 2px 6px #0000000D;
7444
+ .wac-block {
7445
+ background-color: $white;
7446
+ @include padding(rem(30));
7447
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
7448
+ @include simple_transition();
7449
+ height: 100%;
7422
7450
  border-radius: 3px;
7423
- margin: 0 0 15px;
7424
- padding: 30px;
7425
- border: 2px solid transparent;
7426
- transition: .3s ease;
7427
- opacity: .45;
7428
- &.selected, &:not(.disabled):hover, &:not(.disabled):focus {
7429
- border-color: $wac-input-active-color;
7430
- opacity: 1!important;
7451
+
7452
+ @include media('<tablet') {
7453
+ @include padding(rem(20));
7431
7454
  }
7432
- &.firstWacRadioBLock:not(.disabled) {
7433
- opacity: 1!important;
7455
+
7456
+ &.no-padding {
7457
+ padding: 0;
7434
7458
  }
7435
- @include media('<tablet') {
7436
- padding: 20px;
7437
- flex-direction: column;
7438
- align-items: center;
7439
- justify-content: flex-start;
7459
+
7460
+ &.border-radius {
7461
+ border-radius: 5px;
7440
7462
  }
7441
- &__left {
7442
- width: 30px;
7443
- margin: 0 20px 0 0;
7444
- display: flex;
7445
- align-items: center;
7446
- cursor: pointer;
7447
- @include media('<tablet') {
7448
- margin: 0 0 20px;
7449
- }
7463
+
7464
+ &.sticky {
7465
+ position: sticky;
7466
+ top: 20px;
7450
7467
  }
7451
- &__center {
7452
- width: 100%;
7453
- cursor: pointer;
7468
+
7469
+ &.noFullHeight {
7470
+ height: auto;
7454
7471
  }
7455
- &:hover:not(.disabled), &:focus:not(.disabled) {
7456
- input + label {
7457
- &:before {
7458
- border-color: $wac-input-active-color !important;
7459
- }
7472
+
7473
+ &.stretch {
7474
+ display: flex;
7475
+ flex-wrap: wrap;
7476
+ .wac-block__content {
7477
+ display: flex;
7460
7478
  }
7461
7479
  }
7462
- }
7463
7480
 
7464
- .wac-radio-block {
7465
- width: 22px!important;
7466
- height: 22px;
7467
- input {
7468
- outline: 0 !important;
7469
- display: none;
7470
- & + label {
7471
- margin: 0 30px 0 0;
7472
- position: relative;
7473
- cursor: pointer;
7474
- display: block;
7475
- width: 22px;
7476
- height: 22px;
7477
- padding: 0!important;
7478
- &:before {
7479
- content: '';
7480
- display: block;
7481
- position: absolute;
7482
- width: 22px;
7483
- height: 22px;
7484
- border: 1px solid $wac-border-form;
7485
- border-radius: 23px;
7486
- top: 0;
7487
- left: 0;
7488
- }
7489
- &:after {
7490
- content: "";
7491
- display: block;
7492
- position: absolute;
7493
- width: 16px;
7494
- height: 16px;
7495
- border-radius: 23px;
7496
- background: $wac-input-active-color;
7497
- top: 50%;
7498
- left: 50%;
7499
- transform: translate(-50%, -50%);
7500
- opacity: 0;
7501
- }
7502
- &:before,
7503
- &:after {
7504
- outline: 0 !important;
7505
- }
7506
- &:hover,
7507
- &:focus {
7508
- &:before {
7509
- border-color: $wac-input-active-color !important;
7510
- }
7511
- }
7481
+ /*************************/
7482
+ /* Titre INTERNE au bloc */
7483
+ /*************************/
7484
+ &__title {
7485
+ text-transform: none;
7486
+ font-size: rem(16);
7487
+ font-weight: 500;
7488
+ margin-bottom: rem(20);
7489
+ color: $wac-main-text;
7490
+
7491
+ &.no-uppercase {
7492
+ text-transform: none;
7512
7493
  }
7513
- &:hover {
7514
- & + label {
7515
- color: $wac-input-radio-color-active-label;
7516
- &:before {
7517
- border-color: $wac-input-active-color !important;
7518
- }
7519
- }
7520
- &:not([disabled]) {
7521
- & + label {
7522
- &:before {
7523
- border-color: $wac-input-active-color !important;
7524
- }
7525
- }
7526
- }
7494
+
7495
+ &.is-simple {
7496
+ text-transform: none;
7497
+ font-weight: 500;
7527
7498
  }
7528
- &:checked + label {
7529
- color: $wac-input-radio-color-active-label;
7530
- &:before {
7531
- border-color: $wac-input-active-color!important;
7499
+ i {
7500
+ font-size: 16px;
7501
+ margin: 0 0 0 8px;
7502
+ &.success {
7503
+ color: $wac-green-color;
7532
7504
  }
7533
- &:after {
7534
- opacity: 1;
7505
+ &.warning {
7506
+ color: $wac-orange-color;
7507
+ }
7508
+ &.danger {
7509
+ color: $wac-primary-button;
7535
7510
  }
7536
7511
  }
7537
7512
  }
7538
7513
 
7539
-
7540
- .wac-radio__row {
7541
- min-width: 100%;
7542
- margin: 0;
7543
- height: 22px;
7514
+ &:hover {
7515
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7544
7516
  }
7545
7517
 
7546
- label {
7547
- padding-left: 7px;
7548
- margin-right: 0;
7518
+ /*************************/
7519
+ /* Titre EXTERNE au bloc */
7520
+ /*************************/
7521
+ &__external {
7522
+ padding: 0;
7523
+ background: transparent;
7524
+ box-shadow: none;
7525
+ height: calc(100% - 60px);
7526
+ transition: none;
7527
+
7528
+ .wac-block__title {
7529
+ font-size: 1.875rem;
7530
+ margin-bottom: 1.5rem;
7531
+ margin-left: 10px;
7532
+ line-height: 1.5625rem;
7533
+ margin-top: 0.625rem;
7534
+ font-weight: 400;
7535
+ color: $wac-block-color;
7536
+ &.is-simple {
7537
+ text-transform: none;
7538
+ font-weight: 500;
7539
+ }
7540
+ }
7541
+
7542
+ .wac-block__content {
7543
+ background-color: $wac-block-color-background;
7544
+ padding: 1.875rem;
7545
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
7546
+ transition: none;
7547
+ height: 100%;
7548
+ &:hover {
7549
+ box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
7550
+ }
7551
+ }
7552
+
7553
+ &:hover {
7554
+ box-shadow: none;
7555
+ }
7549
7556
  }
7550
7557
  }
7551
7558
  .wac-pagination {