@wizishop/angular-components 0.0.166 → 0.0.170

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.
@@ -1892,174 +1892,61 @@ $wac-subtitle-color: #7A87A1!default;
1892
1892
  }
1893
1893
 
1894
1894
  }
1895
- .wac-field-checkbox {
1896
- &.disable-wt {
1897
- .wac-field-checkbox__row {
1898
- display: flex;
1899
- width: 100%;
1900
- }
1901
- .is-checkradio[type='checkbox'] {
1902
- & + label {
1903
- white-space: normal;
1904
- line-height: 1.4;
1905
- padding: 0;
1906
- > span {
1907
- margin: 0 0 0 30px;
1908
- transform: translateY(-4px);
1909
- }
1910
- }
1911
- }
1912
- }
1913
- &__row {
1914
- position: relative;
1915
- min-width: 100%;
1916
- margin: 0;
1895
+ .wac-confirm-delete {
1896
+ position: absolute;
1897
+ right: 0;
1898
+ top: 0;
1899
+ height: 100%;
1900
+ z-index: 999;
1901
+ width: auto;
1902
+ display: flex;
1903
+ flex-wrap: nowrap;
1904
+ align-items: stretch;
1905
+ background-color: $wac-white;
1906
+ opacity: 0;
1907
+ visibility: hidden;
1908
+ transform: translateX(100%);
1909
+ transition: 0s visibility .35s, opacity .3s ease 0s, transform .3s ease 0s;
1910
+ &.is-open {
1911
+ opacity: 1;
1912
+ visibility: visible;
1913
+ transform: translateX(0);
1914
+ transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
1917
1915
  }
1918
- &--nowrap {
1919
- display: inline-block;
1916
+ > div {
1920
1917
  width: auto;
1921
- min-width: 0;
1922
- margin: 0 10px 10px 0;
1923
- .field {
1924
- &__row {
1925
- width: auto;
1926
- display: inline-block;
1927
- margin: 0;
1928
- }
1929
- }
1930
- }
1931
-
1932
- input[type='text'] {
1933
- height: 40px;
1934
- max-height: 40px;
1935
- padding: 0 20px;
1936
- line-height: 40px;
1937
- border: 1px solid $wac-border-form;
1938
- border-radius: 3px;
1939
- margin: 15px 0 10px !important;
1940
- font-size: rem(14) !important;
1941
- color: $wac-main-text;
1942
- &:focus {
1943
- border-color: $wac-wizishop-blue !important;
1944
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
1945
- &::-webkit-input-placeholder {
1946
- /* Chrome/Opera/Safari */
1947
- opacity: 0;
1948
- }
1949
- &::-moz-placeholder {
1950
- /* Firefox 19+ */
1951
- opacity: 0;
1952
- }
1953
- &:-ms-input-placeholder {
1954
- /* IE 10+ */
1955
- opacity: 0;
1956
- }
1957
- &:-moz-placeholder {
1958
- /* Firefox 18- */
1959
- opacity: 0;
1960
- }
1961
- }
1962
- }
1963
- &.alone {
1964
- .is-checkradio[type='checkbox'] {
1965
- & + label {
1966
- padding-left: 9px;
1967
- margin-right: 0px;
1968
-
1969
- &:before {
1970
- border-width: 1px;
1971
- width: 16px;
1972
- height: 16px;
1973
- border-radius: 2px;
1974
- }
1975
- }
1976
- &:checked + label {
1977
- &:after {
1978
- top: 7px;
1979
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
1980
- }
1981
- }
1982
- }
1983
- }
1984
-
1985
- .is-checkradio[type='checkbox'] {
1986
- outline: 0 !important;
1987
- top: 0;
1988
- & + label {
1989
- font-size: rem(14);
1990
- line-height: 0;
1991
- color: $wac-input-radio-color-label;
1992
- white-space: nowrap;
1993
- padding: 0 8px;
1994
- margin-right: 0;
1995
- outline: 0 !important;
1918
+ display: flex;
1919
+ align-items: center;
1920
+ margin: 0!important;
1921
+ &:first-child {
1922
+ position: relative;
1923
+ margin: 0 20px 0 0;
1924
+ padding: 0 0 0 30px;
1996
1925
  &:before {
1997
- width: 16px;
1998
- height: 16px;
1999
- border: 1px solid $wac-border-color;
1926
+ content: '';
1927
+ display: block;
1928
+ position: absolute;
2000
1929
  top: 0;
2001
- transition: all 0.3s ease-in-out;
2002
- }
2003
- &:after {
2004
- top: 2.3px !important;
2005
- left: 3px !important;
2006
- width: 10px;
2007
- height: 12px;
2008
- border: none !important;
2009
- background: transparent
2010
- 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")
2011
- center center / 8px 8px no-repeat;
2012
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2013
- transition: all 0.3s ease-in-out;
1930
+ left: 10px;
1931
+ width: 1px;
1932
+ height: 100%;
1933
+ background-color: $wac-border-form;
2014
1934
  }
2015
1935
  span {
2016
- margin: 0 0 0 rem(16);
2017
- display: inline-block;
2018
- }
2019
- &:hover,
2020
- &:focus {
2021
- &:before {
2022
- border-color: $wac-input-active-color !important;
2023
- }
2024
- }
2025
- &:before,
2026
- &:after {
2027
- outline: 0 !important;
1936
+ font-size: rem(16);
1937
+ line-height: 1.4;
1938
+ color: $wac-second-color;
2028
1939
  }
2029
1940
  }
2030
- &:hover {
2031
- & + label {
2032
- color: $wac-input-radio-color-active-label;
2033
- &:before {
2034
- border-color: $wac-input-active-color !important;
2035
- }
2036
- &:after {
2037
- border-color: $wac-white !important;
2038
- }
2039
- }
2040
- &:not([disabled]) {
2041
- & + label {
2042
- &:before {
2043
- border-color: $wac-input-active-color !important;
2044
- }
1941
+ &:last-child {
1942
+ > div {
1943
+ width: auto;
1944
+ &:first-child {
1945
+ margin: 0 10px 0 0;
2045
1946
  }
2046
1947
  }
2047
1948
  }
2048
- &:checked + label {
2049
- color: $wac-input-radio-color-active-label;
2050
- &:before {
2051
- border: 1px solid $wac-input-active-color;
2052
- background-color: $wac-input-active-color;
2053
- transition: all 0.3s ease-in-out;
2054
- }
2055
- &:after {
2056
- left: 7px;
2057
- top: 8px;
2058
- transition: all 0.3s ease-in-out;
2059
- }
2060
- }
2061
1949
  }
2062
-
2063
1950
  }
2064
1951
  .wac-state {
2065
1952
  width: 12px;
@@ -2146,166 +2033,84 @@ $wac-subtitle-color: #7A87A1!default;
2146
2033
  transition: background-color 0.3s ease-in-out;
2147
2034
 
2148
2035
  i {
2149
- color: $wac-white;
2150
- transition: color 0.3s ease-in-out;
2151
- }
2152
- }
2153
- }
2154
- }
2155
-
2156
- .wac-switch {
2157
- input {
2158
- display: none;
2159
- &:checked + label {
2160
- &:before {
2161
- background-color: $wac-bleu-color;
2162
- }
2163
- &:after {
2164
- transform: translateY(-50%) translateX(24px) rotate(180deg);
2165
- }
2166
- > span {
2167
- .disable {
2168
- display: none;
2169
- }
2170
- .enable {
2171
- display: block;
2172
- }
2173
- }
2174
- }
2175
- &.danger {
2176
- &:checked + label {
2177
- &:before {
2178
- background-color: $wac-red-color;
2179
- }
2180
- }
2181
- }
2182
- }
2183
- &__label {
2184
- display: block;
2185
- padding: 0 0 0 56px;
2186
- position: relative;
2187
- min-height: 22px;
2188
- min-width: 56px;
2189
- cursor: pointer;
2190
- &:before {
2191
- content: '';
2192
- display: block;
2193
- width: rem(46);
2194
- height: rem(22);
2195
- border-radius: 12px;
2196
- background-color: $wac-border-form;
2197
- position: absolute;
2198
- top: 0;
2199
- left: 0;
2200
- transition: background-color 0.3s ease;
2201
- }
2202
- &:after {
2203
- content: '';
2204
- display: block;
2205
- width: rem(16);
2206
- height: rem(16);
2207
- background-color: $wac-white;
2208
- border-radius: 50%;
2209
- position: absolute;
2210
- left: 3px;
2211
- top: 50%;
2212
- transform: translateY(-50%) translateX(0) rotate(0deg);
2213
- transition: transform 0.3s ease;
2214
- }
2215
- &__text {
2216
- font-size: rem(14);
2217
- line-height: rem(22);
2218
- font-weight: 400;
2219
- color: $wac-main-text;
2220
- &:empty {
2221
- display: none;
2222
- }
2223
- .disable {
2224
- display: block;
2225
- }
2226
- .enable {
2227
- display: none;
2228
- }
2229
- span {
2230
- display: flex;
2231
- align-items: center;
2232
- white-space: nowrap;
2233
- strong {
2234
- margin: 0 0 0 5px;
2235
- font-weight: 600;
2236
- }
2237
- }
2238
- }
2239
- }
2240
- }
2241
-
2242
- .wac-show-input {
2243
- width: 100%;
2244
- margin: 15px 0 0 0;
2245
- input {
2246
- width: 100%;
2247
- height: 40px;
2248
- line-height: 40px;
2249
- padding: 0 20px;
2250
- color: $wac-main-text;
2251
- border-radius: 3px;
2252
- border: 1px solid $wac-border-form;
2253
- &::-webkit-input-placeholder {
2254
- /* Chrome/Opera/Safari */
2255
- color: $wac-color-icon-search-multiple-search;
2256
- opacity: 1;
2257
- font-weight: 400;
2258
- @include media('<tablet') {
2259
- font-size: rem(11);
2260
- }
2261
- }
2262
- &::-moz-placeholder {
2263
- /* Firefox 19+ */
2264
- color: $wac-color-icon-search-multiple-search;
2265
- opacity: 1;
2266
- font-weight: 400;
2267
- @include media('<tablet') {
2268
- font-size: rem(11);
2036
+ color: $wac-white;
2037
+ transition: color 0.3s ease-in-out;
2269
2038
  }
2270
2039
  }
2271
- &:-ms-input-placeholder {
2272
- /* IE 10+ */
2273
- color: $wac-color-icon-search-multiple-search;
2274
- opacity: 1;
2275
- font-weight: 400;
2276
- @include media('<tablet') {
2277
- font-size: rem(11);
2040
+ }
2041
+ }
2042
+ .wac-tab {
2043
+ &__wrapper {
2044
+ position: relative;
2045
+ @include flexbox();
2046
+ margin-bottom: 30px;
2047
+
2048
+ &__tab {
2049
+ position: relative;
2050
+ font-size: 14px;
2051
+ line-height: 25px;
2052
+ color: $wac-secondary-color;
2053
+
2054
+ &:hover {
2055
+ color: $wac-main-text;
2056
+ transition: color 0.3s ease-in-out;
2278
2057
  }
2279
- }
2280
- &:-moz-placeholder {
2281
- /* Firefox 18- */
2282
- color: $wac-color-icon-search-multiple-search;
2283
- opacity: 1;
2284
- font-weight: 400;
2285
- @include media('<tablet') {
2286
- font-size: rem(11);
2058
+
2059
+ &:not(:last-child) {
2060
+ margin-right: 30px;
2287
2061
  }
2288
- }
2289
- &:focus {
2290
- &::-webkit-input-placeholder {
2291
- /* Chrome/Opera/Safari */
2292
- color: $wac-white;
2293
- opacity: 1;
2062
+
2063
+ &:after {
2064
+ position: absolute;
2065
+ width: 0;
2066
+ height: 2px;
2067
+ bottom: -5px;
2068
+ left: 0;
2069
+ content: '';
2070
+ background-color: $wac-input-active-color;
2071
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2294
2072
  }
2295
- &::-moz-placeholder {
2296
- /* Firefox 19+ */
2297
- color: $wac-white;
2298
- opacity: 1;
2073
+
2074
+ &--selected {
2075
+ color: $wac-main-text;
2076
+
2077
+ &:after {
2078
+ width: 100%;
2079
+ transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2080
+ }
2299
2081
  }
2300
- &:-ms-input-placeholder {
2301
- /* IE 10+ */
2302
- color: $wac-white;
2303
- opacity: 1;
2082
+ }
2083
+ }
2084
+
2085
+ &--underline {
2086
+ .wac-tab__wrapper:before {
2087
+ position: absolute;
2088
+ width: 100%;
2089
+ height: 1px;
2090
+ bottom: -5px;
2091
+ left: 0;
2092
+ content: '';
2093
+ background-color: $wac-border-form;
2094
+ }
2095
+ }
2096
+
2097
+ &--button {
2098
+ .wac-tab__wrapper__tab {
2099
+ background-color: $wac-button-tab-background;
2100
+ padding: 12px 20px;
2101
+ font-size: rem(14);
2102
+ line-height: rem(16);
2103
+ white-space: nowrap;
2104
+ color: $second-color;
2105
+ margin: 0 rem(2) 0 0;
2106
+ border-radius: 3px;
2107
+ transition: .3s ease;
2108
+ &--selected, &:hover, &:focus {
2109
+ background-color: $wac-wizishop-blue;
2110
+ color: $white;
2304
2111
  }
2305
- &:-moz-placeholder {
2306
- /* Firefox 18- */
2307
- color: $wac-white;
2308
- opacity: 1;
2112
+ &:after {
2113
+ display: none;
2309
2114
  }
2310
2115
  }
2311
2116
  }
@@ -2479,78 +2284,160 @@ $wac-subtitle-color: #7A87A1!default;
2479
2284
  z-index: 2;
2480
2285
  }
2481
2286
  }
2482
- .wac-tab {
2483
- &__wrapper {
2484
- position: relative;
2485
- @include flexbox();
2486
- margin-bottom: 30px;
2487
-
2488
- &__tab {
2489
- position: relative;
2490
- font-size: 14px;
2491
- line-height: 25px;
2492
- color: $wac-secondary-color;
2493
-
2494
- &:hover {
2495
- color: $wac-main-text;
2496
- transition: color 0.3s ease-in-out;
2497
- }
2498
2287
 
2499
- &:not(:last-child) {
2500
- margin-right: 30px;
2288
+ .wac-switch {
2289
+ input {
2290
+ display: none;
2291
+ &:checked + label {
2292
+ &:before {
2293
+ background-color: $wac-bleu-color;
2501
2294
  }
2502
-
2503
2295
  &:after {
2504
- position: absolute;
2505
- width: 0;
2506
- height: 2px;
2507
- bottom: -5px;
2508
- left: 0;
2509
- content: '';
2510
- background-color: $wac-input-active-color;
2511
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2296
+ transform: translateY(-50%) translateX(24px) rotate(180deg);
2512
2297
  }
2513
-
2514
- &--selected {
2515
- color: $wac-main-text;
2516
-
2517
- &:after {
2518
- width: 100%;
2519
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2298
+ > span {
2299
+ .disable {
2300
+ display: none;
2301
+ }
2302
+ .enable {
2303
+ display: block;
2304
+ }
2305
+ }
2306
+ }
2307
+ &.danger {
2308
+ &:checked + label {
2309
+ &:before {
2310
+ background-color: $wac-red-color;
2311
+ }
2312
+ }
2313
+ }
2314
+ }
2315
+ &__label {
2316
+ display: block;
2317
+ padding: 0 0 0 56px;
2318
+ position: relative;
2319
+ min-height: 22px;
2320
+ min-width: 56px;
2321
+ cursor: pointer;
2322
+ &:before {
2323
+ content: '';
2324
+ display: block;
2325
+ width: rem(46);
2326
+ height: rem(22);
2327
+ border-radius: 12px;
2328
+ background-color: $wac-border-form;
2329
+ position: absolute;
2330
+ top: 0;
2331
+ left: 0;
2332
+ transition: background-color 0.3s ease;
2333
+ }
2334
+ &:after {
2335
+ content: '';
2336
+ display: block;
2337
+ width: rem(16);
2338
+ height: rem(16);
2339
+ background-color: $wac-white;
2340
+ border-radius: 50%;
2341
+ position: absolute;
2342
+ left: 3px;
2343
+ top: 50%;
2344
+ transform: translateY(-50%) translateX(0) rotate(0deg);
2345
+ transition: transform 0.3s ease;
2346
+ }
2347
+ &__text {
2348
+ font-size: rem(14);
2349
+ line-height: rem(22);
2350
+ font-weight: 400;
2351
+ color: $wac-main-text;
2352
+ &:empty {
2353
+ display: none;
2354
+ }
2355
+ .disable {
2356
+ display: block;
2357
+ }
2358
+ .enable {
2359
+ display: none;
2360
+ }
2361
+ span {
2362
+ display: flex;
2363
+ align-items: center;
2364
+ white-space: nowrap;
2365
+ strong {
2366
+ margin: 0 0 0 5px;
2367
+ font-weight: 600;
2520
2368
  }
2521
2369
  }
2522
2370
  }
2523
- }
2524
-
2525
- &--underline {
2526
- .wac-tab__wrapper:before {
2527
- position: absolute;
2528
- width: 100%;
2529
- height: 1px;
2530
- bottom: -5px;
2531
- left: 0;
2532
- content: '';
2533
- background-color: $wac-border-form;
2371
+ }
2372
+ }
2373
+
2374
+ .wac-show-input {
2375
+ width: 100%;
2376
+ margin: 15px 0 0 0;
2377
+ input {
2378
+ width: 100%;
2379
+ height: 40px;
2380
+ line-height: 40px;
2381
+ padding: 0 20px;
2382
+ color: $wac-main-text;
2383
+ border-radius: 3px;
2384
+ border: 1px solid $wac-border-form;
2385
+ &::-webkit-input-placeholder {
2386
+ /* Chrome/Opera/Safari */
2387
+ color: $wac-color-icon-search-multiple-search;
2388
+ opacity: 1;
2389
+ font-weight: 400;
2390
+ @include media('<tablet') {
2391
+ font-size: rem(11);
2392
+ }
2393
+ }
2394
+ &::-moz-placeholder {
2395
+ /* Firefox 19+ */
2396
+ color: $wac-color-icon-search-multiple-search;
2397
+ opacity: 1;
2398
+ font-weight: 400;
2399
+ @include media('<tablet') {
2400
+ font-size: rem(11);
2401
+ }
2402
+ }
2403
+ &:-ms-input-placeholder {
2404
+ /* IE 10+ */
2405
+ color: $wac-color-icon-search-multiple-search;
2406
+ opacity: 1;
2407
+ font-weight: 400;
2408
+ @include media('<tablet') {
2409
+ font-size: rem(11);
2410
+ }
2411
+ }
2412
+ &:-moz-placeholder {
2413
+ /* Firefox 18- */
2414
+ color: $wac-color-icon-search-multiple-search;
2415
+ opacity: 1;
2416
+ font-weight: 400;
2417
+ @include media('<tablet') {
2418
+ font-size: rem(11);
2419
+ }
2534
2420
  }
2535
- }
2536
-
2537
- &--button {
2538
- .wac-tab__wrapper__tab {
2539
- background-color: $wac-button-tab-background;
2540
- padding: 12px 20px;
2541
- font-size: rem(14);
2542
- line-height: rem(16);
2543
- white-space: nowrap;
2544
- color: $second-color;
2545
- margin: 0 rem(2) 0 0;
2546
- border-radius: 3px;
2547
- transition: .3s ease;
2548
- &--selected, &:hover, &:focus {
2549
- background-color: $wac-wizishop-blue;
2550
- color: $white;
2421
+ &:focus {
2422
+ &::-webkit-input-placeholder {
2423
+ /* Chrome/Opera/Safari */
2424
+ color: $wac-white;
2425
+ opacity: 1;
2551
2426
  }
2552
- &:after {
2553
- display: none;
2427
+ &::-moz-placeholder {
2428
+ /* Firefox 19+ */
2429
+ color: $wac-white;
2430
+ opacity: 1;
2431
+ }
2432
+ &:-ms-input-placeholder {
2433
+ /* IE 10+ */
2434
+ color: $wac-white;
2435
+ opacity: 1;
2436
+ }
2437
+ &:-moz-placeholder {
2438
+ /* Firefox 18- */
2439
+ color: $wac-white;
2440
+ opacity: 1;
2554
2441
  }
2555
2442
  }
2556
2443
  }
@@ -3242,7 +3129,7 @@ $wac-subtitle-color: #7A87A1!default;
3242
3129
  @include media('>tablet') {
3243
3130
  margin: 0 5px;
3244
3131
  }
3245
- &__item {
3132
+ &__image {
3246
3133
  width: 100%;
3247
3134
  margin: 0 0 10px;
3248
3135
  position: relative;
@@ -4800,60 +4687,174 @@ span.wac-tooltip {
4800
4687
  margin: 0 auto;
4801
4688
  }
4802
4689
  }
4803
- .wac-confirm-delete {
4804
- position: absolute;
4805
- right: 0;
4806
- top: 0;
4807
- height: 100%;
4808
- z-index: 999;
4809
- width: auto;
4810
- display: flex;
4811
- flex-wrap: nowrap;
4812
- align-items: stretch;
4813
- background-color: $wac-white;
4814
- opacity: 0;
4815
- visibility: hidden;
4816
- transform: translateX(100%);
4817
- transition: 0s visibility .35s, opacity .3s ease 0s, transform .3s ease 0s;
4818
- &.is-open {
4819
- opacity: 1;
4820
- visibility: visible;
4821
- transform: translateX(0);
4822
- transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
4690
+ .wac-field-checkbox {
4691
+ &.disable-wt {
4692
+ .wac-field-checkbox__row {
4693
+ display: flex;
4694
+ width: 100%;
4695
+ }
4696
+ .is-checkradio[type='checkbox'] {
4697
+ & + label {
4698
+ white-space: normal;
4699
+ line-height: 1.4;
4700
+ padding: 0;
4701
+ > span {
4702
+ margin: 0 0 0 30px;
4703
+ transform: translateY(-4px);
4704
+ }
4705
+ }
4706
+ }
4823
4707
  }
4824
- > div {
4708
+ &__row {
4709
+ position: relative;
4710
+ min-width: 100%;
4711
+ margin: 0;
4712
+ }
4713
+ &--nowrap {
4714
+ display: inline-block;
4825
4715
  width: auto;
4826
- display: flex;
4827
- align-items: center;
4828
- &:first-child {
4829
- position: relative;
4830
- margin: 0 20px 0 0;
4831
- padding: 0 0 0 30px;
4716
+ min-width: 0;
4717
+ margin: 0 10px 10px 0;
4718
+ .field {
4719
+ &__row {
4720
+ width: auto;
4721
+ display: inline-block;
4722
+ margin: 0;
4723
+ }
4724
+ }
4725
+ }
4726
+
4727
+ input[type='text'] {
4728
+ height: 40px;
4729
+ max-height: 40px;
4730
+ padding: 0 20px;
4731
+ line-height: 40px;
4732
+ border: 1px solid $wac-border-form;
4733
+ border-radius: 3px;
4734
+ margin: 15px 0 10px !important;
4735
+ font-size: rem(14) !important;
4736
+ color: $wac-main-text;
4737
+ &:focus {
4738
+ border-color: $wac-wizishop-blue !important;
4739
+ box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
4740
+ &::-webkit-input-placeholder {
4741
+ /* Chrome/Opera/Safari */
4742
+ opacity: 0;
4743
+ }
4744
+ &::-moz-placeholder {
4745
+ /* Firefox 19+ */
4746
+ opacity: 0;
4747
+ }
4748
+ &:-ms-input-placeholder {
4749
+ /* IE 10+ */
4750
+ opacity: 0;
4751
+ }
4752
+ &:-moz-placeholder {
4753
+ /* Firefox 18- */
4754
+ opacity: 0;
4755
+ }
4756
+ }
4757
+ }
4758
+ &.alone {
4759
+ .is-checkradio[type='checkbox'] {
4760
+ & + label {
4761
+ padding-left: 9px;
4762
+ margin-right: 0px;
4763
+
4764
+ &:before {
4765
+ border-width: 1px;
4766
+ width: 16px;
4767
+ height: 16px;
4768
+ border-radius: 2px;
4769
+ }
4770
+ }
4771
+ &:checked + label {
4772
+ &:after {
4773
+ top: 7px;
4774
+ transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
4775
+ }
4776
+ }
4777
+ }
4778
+ }
4779
+
4780
+ .is-checkradio[type='checkbox'] {
4781
+ outline: 0 !important;
4782
+ top: 0;
4783
+ & + label {
4784
+ font-size: rem(14);
4785
+ line-height: 0;
4786
+ color: $wac-input-radio-color-label;
4787
+ white-space: nowrap;
4788
+ padding: 0 8px;
4789
+ margin-right: 0;
4790
+ outline: 0 !important;
4832
4791
  &:before {
4833
- content: '';
4834
- display: block;
4835
- position: absolute;
4792
+ width: 16px;
4793
+ height: 16px;
4794
+ border: 1px solid $wac-border-color;
4836
4795
  top: 0;
4837
- left: 10px;
4838
- width: 1px;
4839
- height: 100%;
4840
- background-color: $wac-border-form;
4796
+ transition: all 0.3s ease-in-out;
4797
+ }
4798
+ &:after {
4799
+ top: 2.3px !important;
4800
+ left: 3px !important;
4801
+ width: 10px;
4802
+ height: 12px;
4803
+ border: none !important;
4804
+ background: transparent
4805
+ 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")
4806
+ center center / 8px 8px no-repeat;
4807
+ transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
4808
+ transition: all 0.3s ease-in-out;
4841
4809
  }
4842
4810
  span {
4843
- font-size: rem(16);
4844
- line-height: 1.4;
4845
- color: $wac-second-color;
4811
+ margin: 0 0 0 rem(16);
4812
+ display: inline-block;
4813
+ }
4814
+ &:hover,
4815
+ &:focus {
4816
+ &:before {
4817
+ border-color: $wac-input-active-color !important;
4818
+ }
4819
+ }
4820
+ &:before,
4821
+ &:after {
4822
+ outline: 0 !important;
4846
4823
  }
4847
4824
  }
4848
- &:last-child {
4849
- > div {
4850
- width: auto;
4851
- &:first-child {
4852
- margin: 0 10px 0 0;
4825
+ &:hover {
4826
+ & + label {
4827
+ color: $wac-input-radio-color-active-label;
4828
+ &:before {
4829
+ border-color: $wac-input-active-color !important;
4830
+ }
4831
+ &:after {
4832
+ border-color: $wac-white !important;
4833
+ }
4834
+ }
4835
+ &:not([disabled]) {
4836
+ & + label {
4837
+ &:before {
4838
+ border-color: $wac-input-active-color !important;
4839
+ }
4853
4840
  }
4854
4841
  }
4855
4842
  }
4843
+ &:checked + label {
4844
+ color: $wac-input-radio-color-active-label;
4845
+ &:before {
4846
+ border: 1px solid $wac-input-active-color;
4847
+ background-color: $wac-input-active-color;
4848
+ transition: all 0.3s ease-in-out;
4849
+ }
4850
+ &:after {
4851
+ left: 7px;
4852
+ top: 8px;
4853
+ transition: all 0.3s ease-in-out;
4854
+ }
4855
+ }
4856
4856
  }
4857
+
4857
4858
  }
4858
4859
  .wac-wrapper-blocs {
4859
4860
  &.sidebar {
@@ -5007,7 +5008,8 @@ span.wac-tooltip {
5007
5008
  }
5008
5009
 
5009
5010
  &:nth-child(2) {
5010
- background-color: $wac-grey;
5011
+ background: $wac-grey center center no-repeat;
5012
+ background-size: auto;
5011
5013
 
5012
5014
  @include media('>=desktop') {
5013
5015
  width: 67%;
@@ -5243,6 +5245,7 @@ h3.wac-h3 {
5243
5245
  padding: 30px;
5244
5246
  border: 2px solid transparent;
5245
5247
  transition: .3s ease;
5248
+ opacity: .45;
5246
5249
  &.selected, &:hover, &:focus {
5247
5250
  border-color: $wac-input-active-color;
5248
5251
  opacity: 1!important;
@@ -5250,9 +5253,6 @@ h3.wac-h3 {
5250
5253
  &.firstWacRadioBLock {
5251
5254
  opacity: 1!important;
5252
5255
  }
5253
- &:not(.selected) {
5254
- opacity: .45;
5255
- }
5256
5256
  @include media('<tablet') {
5257
5257
  padding: 20px;
5258
5258
  flex-direction: column;