@wizishop/angular-components 0.0.170 → 0.0.171

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,61 +1892,174 @@ $wac-subtitle-color: #7A87A1!default;
1892
1892
  }
1893
1893
 
1894
1894
  }
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;
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
+ }
1915
1912
  }
1916
- > div {
1913
+ &__row {
1914
+ position: relative;
1915
+ min-width: 100%;
1916
+ margin: 0;
1917
+ }
1918
+ &--nowrap {
1919
+ display: inline-block;
1917
1920
  width: auto;
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;
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;
1925
1996
  &:before {
1926
- content: '';
1927
- display: block;
1928
- position: absolute;
1997
+ width: 16px;
1998
+ height: 16px;
1999
+ border: 1px solid $wac-border-color;
1929
2000
  top: 0;
1930
- left: 10px;
1931
- width: 1px;
1932
- height: 100%;
1933
- background-color: $wac-border-form;
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;
1934
2014
  }
1935
2015
  span {
1936
- font-size: rem(16);
1937
- line-height: 1.4;
1938
- color: $wac-second-color;
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;
1939
2028
  }
1940
2029
  }
1941
- &:last-child {
1942
- > div {
1943
- width: auto;
1944
- &:first-child {
1945
- margin: 0 10px 0 0;
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
+ }
1946
2045
  }
1947
2046
  }
1948
2047
  }
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
+ }
1949
2061
  }
2062
+
1950
2063
  }
1951
2064
  .wac-state {
1952
2065
  width: 12px;
@@ -2039,78 +2152,160 @@ $wac-subtitle-color: #7A87A1!default;
2039
2152
  }
2040
2153
  }
2041
2154
  }
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;
2057
- }
2058
2155
 
2059
- &:not(:last-child) {
2060
- margin-right: 30px;
2156
+ .wac-switch {
2157
+ input {
2158
+ display: none;
2159
+ &:checked + label {
2160
+ &:before {
2161
+ background-color: $wac-bleu-color;
2061
2162
  }
2062
-
2063
2163
  &: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;
2164
+ transform: translateY(-50%) translateX(24px) rotate(180deg);
2072
2165
  }
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;
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;
2080
2236
  }
2081
2237
  }
2082
2238
  }
2083
2239
  }
2240
+ }
2084
2241
 
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;
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
+ }
2094
2261
  }
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;
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);
2111
2269
  }
2112
- &:after {
2113
- display: none;
2270
+ }
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);
2278
+ }
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);
2287
+ }
2288
+ }
2289
+ &:focus {
2290
+ &::-webkit-input-placeholder {
2291
+ /* Chrome/Opera/Safari */
2292
+ color: $wac-white;
2293
+ opacity: 1;
2294
+ }
2295
+ &::-moz-placeholder {
2296
+ /* Firefox 19+ */
2297
+ color: $wac-white;
2298
+ opacity: 1;
2299
+ }
2300
+ &:-ms-input-placeholder {
2301
+ /* IE 10+ */
2302
+ color: $wac-white;
2303
+ opacity: 1;
2304
+ }
2305
+ &:-moz-placeholder {
2306
+ /* Firefox 18- */
2307
+ color: $wac-white;
2308
+ opacity: 1;
2114
2309
  }
2115
2310
  }
2116
2311
  }
@@ -2284,160 +2479,78 @@ $wac-subtitle-color: #7A87A1!default;
2284
2479
  z-index: 2;
2285
2480
  }
2286
2481
  }
2287
-
2288
- .wac-switch {
2289
- input {
2290
- display: none;
2291
- &:checked + label {
2292
- &:before {
2293
- background-color: $wac-bleu-color;
2294
- }
2295
- &:after {
2296
- transform: translateY(-50%) translateX(24px) rotate(180deg);
2297
- }
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;
2482
+ .wac-tab {
2483
+ &__wrapper {
2318
2484
  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;
2368
- }
2369
- }
2370
- }
2371
- }
2372
- }
2485
+ @include flexbox();
2486
+ margin-bottom: 30px;
2373
2487
 
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);
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;
2410
2497
  }
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);
2498
+
2499
+ &:not(:last-child) {
2500
+ margin-right: 30px;
2419
2501
  }
2420
- }
2421
- &:focus {
2422
- &::-webkit-input-placeholder {
2423
- /* Chrome/Opera/Safari */
2424
- color: $wac-white;
2425
- opacity: 1;
2502
+
2503
+ &: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;
2426
2512
  }
2427
- &::-moz-placeholder {
2428
- /* Firefox 19+ */
2429
- color: $wac-white;
2430
- opacity: 1;
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;
2520
+ }
2431
2521
  }
2432
- &:-ms-input-placeholder {
2433
- /* IE 10+ */
2434
- color: $wac-white;
2435
- opacity: 1;
2522
+ }
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;
2534
+ }
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;
2436
2551
  }
2437
- &:-moz-placeholder {
2438
- /* Firefox 18- */
2439
- color: $wac-white;
2440
- opacity: 1;
2552
+ &:after {
2553
+ display: none;
2441
2554
  }
2442
2555
  }
2443
2556
  }
@@ -3107,12 +3220,15 @@ $wac-subtitle-color: #7A87A1!default;
3107
3220
  }
3108
3221
  }
3109
3222
  .wac-mosaic {
3223
+ height: 450px;
3224
+ position: relative;
3110
3225
  &__loader {
3111
- min-height: 400px;
3226
+ min-height: 450px;
3112
3227
  width: 100%;
3113
3228
  display: flex;
3114
3229
  justify-content: center;
3115
3230
  align-items: center;
3231
+
3116
3232
  }
3117
3233
  &__wrapper {
3118
3234
  width: 100%;
@@ -3123,6 +3239,9 @@ $wac-subtitle-color: #7A87A1!default;
3123
3239
  width: calc(100% + 10px);
3124
3240
  transform: translateX(-5px);
3125
3241
  }
3242
+ &__scrollbar {
3243
+ width: 100%;
3244
+ }
3126
3245
  &__column {
3127
3246
  width: 100%;
3128
3247
  margin: 0;
@@ -4687,174 +4806,61 @@ span.wac-tooltip {
4687
4806
  margin: 0 auto;
4688
4807
  }
4689
4808
  }
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
- }
4707
- }
4708
- &__row {
4709
- position: relative;
4710
- min-width: 100%;
4711
- margin: 0;
4809
+ .wac-confirm-delete {
4810
+ position: absolute;
4811
+ right: 0;
4812
+ top: 0;
4813
+ height: 100%;
4814
+ z-index: 999;
4815
+ width: auto;
4816
+ display: flex;
4817
+ flex-wrap: nowrap;
4818
+ align-items: stretch;
4819
+ background-color: $wac-white;
4820
+ opacity: 0;
4821
+ visibility: hidden;
4822
+ transform: translateX(100%);
4823
+ transition: 0s visibility .35s, opacity .3s ease 0s, transform .3s ease 0s;
4824
+ &.is-open {
4825
+ opacity: 1;
4826
+ visibility: visible;
4827
+ transform: translateX(0);
4828
+ transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
4712
4829
  }
4713
- &--nowrap {
4714
- display: inline-block;
4830
+ > div {
4715
4831
  width: auto;
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
+ display: flex;
4833
+ align-items: center;
4834
+ margin: 0!important;
4835
+ &:first-child {
4836
+ position: relative;
4837
+ margin: 0 20px 0 0;
4838
+ padding: 0 0 0 30px;
4791
4839
  &:before {
4792
- width: 16px;
4793
- height: 16px;
4794
- border: 1px solid $wac-border-color;
4840
+ content: '';
4841
+ display: block;
4842
+ position: absolute;
4795
4843
  top: 0;
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;
4844
+ left: 10px;
4845
+ width: 1px;
4846
+ height: 100%;
4847
+ background-color: $wac-border-form;
4809
4848
  }
4810
4849
  span {
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;
4850
+ font-size: rem(16);
4851
+ line-height: 1.4;
4852
+ color: $wac-second-color;
4823
4853
  }
4824
4854
  }
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
- }
4855
+ &:last-child {
4856
+ > div {
4857
+ width: auto;
4858
+ &:first-child {
4859
+ margin: 0 10px 0 0;
4840
4860
  }
4841
4861
  }
4842
4862
  }
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
4863
  }
4857
-
4858
4864
  }
4859
4865
  .wac-wrapper-blocs {
4860
4866
  &.sidebar {