@wizishop/angular-components 0.0.164 → 0.0.166

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.
@@ -1308,1810 +1308,1438 @@ $wac-subtitle-color: #7A87A1!default;
1308
1308
  }
1309
1309
  }
1310
1310
  }
1311
- .wac-button {
1312
- @include flexbox();
1313
- @include justify-content(center);
1314
- @include align-items(center);
1311
+ .wac-calendar {
1315
1312
  position: relative;
1316
- display: block;
1317
- padding: 7px 19px;
1318
- border-style: solid;
1319
- border-width: 1px;
1320
- border-radius: 3px;
1321
- box-sizing: border-box;
1322
-
1323
- * {
1324
- box-sizing: border-box;
1325
- }
1326
-
1327
- &.width-auto {
1328
- display: inline-block;
1329
- width: auto;
1330
- margin: 0 auto;
1331
- }
1332
-
1333
- &.white-space-no-wrap {
1334
- white-space: nowrap;
1335
- }
1336
-
1337
- &.is-green.opacity {
1338
- background-color: $wac-tag-success-light;
1339
- border-color: $wac-tag-success-light;
1340
- transition: .3s;
1341
- i {
1342
- color: $wac-tag-success;
1343
- }
1344
- &:hover, &:focus {
1345
- background-color: $wac-tag-success;
1346
- i {
1347
- color: $wac-white;
1348
- }
1349
- }
1350
- }
1351
-
1352
- &.static-width {
1353
- width: 40px;
1354
- min-width: 40px;
1355
- max-width: 40px;
1356
- }
1357
-
1358
- &.is-blue.opacity {
1359
- background-color: $wac-wizishop-blue-button-light;
1360
- border-color: $wac-wizishop-blue-button-light;
1361
- transition: .3s;
1362
- i {
1363
- color: $wac-wizishop-blue-button;
1364
- }
1365
- &:hover, &:focus {
1366
- background-color: $wac-wizishop-blue-button;
1367
- i {
1368
- color: $wac-white;
1313
+ margin: 0 0 20px;
1314
+ width: 268px;
1315
+ &--open {
1316
+ z-index: 9;
1317
+ .wac-calendar {
1318
+ &__absolute {
1319
+ visibility: visible;
1320
+ opacity: 1;
1321
+ transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
1369
1322
  }
1370
1323
  }
1371
1324
  }
1372
-
1373
- &.animationText {
1374
- width: rem(40);
1375
- height: rem(40);
1376
- padding: 0!important;
1377
- border-radius: 3px;
1378
- transition: 0s linear .3s!important;
1325
+ &--edit {
1379
1326
  display: flex;
1380
- justify-content: center;
1327
+ justify-content: flex-start;
1381
1328
  align-items: center;
1382
- cursor: pointer;
1383
- border: none;
1384
- position: relative;
1385
- &:hover, &:focus {
1386
- transition: 0s!important;
1387
- border-radius: 3px 0 0 3px;
1388
- &.animation-right {
1389
- border-radius: 0 3px 3px 0;
1390
- }
1391
- .wac-button__animation {
1392
- transition: .3s ease!important;
1329
+ align-content: center;
1330
+ & > * {
1331
+ display: inline-block;
1332
+ &:nth-child(2) {
1333
+ margin: 0 10px;
1393
1334
  }
1394
1335
  }
1395
1336
  }
1396
-
1397
- &.small {
1398
- padding: rem(4) rem(15);
1399
- }
1400
-
1401
- &__wrapper {
1402
- position: relative;
1403
- z-index: 2;
1404
- color: $wac-white;
1405
- font-size: 14px;
1406
- line-height: 16px;
1407
- font-weight: 500;
1408
-
1409
- i {
1410
- margin-right: 1.4px;
1337
+ &--no-margin {
1338
+ margin: 0;
1339
+ .wac-calendar__autoHide {
1340
+ margin: 0;
1411
1341
  }
1412
1342
  }
1413
-
1414
- &__coin {
1415
- margin: 0 0 0 rem(15);
1416
- display: flex;
1417
- align-items: center;
1418
- justify-content: center;
1419
- border-radius: 40px;
1420
- padding: 4px 6px;
1421
- background-color: #F8EDD2;
1422
- float: right;
1423
- z-index: 2;
1343
+ &__label {
1344
+ font-size: rem(14) !important;
1345
+ line-height: rem(16) !important;
1346
+ margin: 0 0 10px !important;
1347
+ color: $wac-color-text-grey !important;
1348
+ cursor: pointer;
1349
+ }
1350
+ &__autoHide {
1351
+ max-width: 300px;
1424
1352
  position: relative;
1425
- i {
1426
- font-size: rem(18);
1427
- color: #FDCD52;
1428
- margin: 0 5px 0 0;
1429
- }
1430
- > span {
1431
- font-size: rem(14);
1432
- line-height: 1;
1433
- color: #E0B146;
1434
- font-weight: 600;
1435
- letter-spacing: 0;
1436
- }
1437
1353
  }
1438
-
1439
- &__animation {
1440
- overflow: hidden;
1441
- max-width: 0;
1442
- height: 40px;
1443
- position: absolute;
1444
- top: 0;
1445
- left: 95%;
1446
- z-index: 2;
1447
- transition: .3s ease!important;
1448
- .animation-right & {
1449
- left: auto;
1450
- right: 94%;
1451
- > span {
1452
- border-radius: 3px 0 0 3px;
1453
- padding: 0 0 0 20px;
1354
+ &__wrapper {
1355
+ &__input {
1356
+ border-radius: 3px;
1357
+ display: flex;
1358
+ justify-content: flex-start;
1359
+ align-items: center;
1360
+ align-content: center;
1361
+ min-width: 240px;
1362
+ max-width: 240px;
1363
+ padding: 7px 20px;
1364
+ border: 1px solid $wac-border-form;
1365
+ cursor: pointer;
1366
+ &__icon {
1367
+ width: 16px;
1368
+ margin: 0 10px 0 0;
1369
+ display: flex;
1370
+ justify-content: space-between;
1371
+ align-items: center;
1372
+ align-content: center;
1373
+ cursor: pointer;
1374
+ &:hover,
1375
+ &:focus {
1376
+ i {
1377
+ color: darken($wac-wizishop-blue, 15%);
1378
+ }
1379
+ }
1380
+ i {
1381
+ color: $wac-second-color;
1382
+ font-size: rem(18);
1383
+ transition: color 300ms ease;
1384
+ }
1454
1385
  }
1455
- }
1456
- &__text {
1457
- position: absolute;
1458
- top: 0;
1459
- left: 0;
1460
- width: auto;
1461
- white-space: nowrap;
1462
- height: rem(40);
1463
- line-height: rem(40);
1464
- color: $wac-white !important;
1465
- border-radius: 0 3px 3px 0;
1466
- padding: 0 20px 0 0;
1467
- font-size: rem(14);
1468
- .is-success & {
1469
- background-color: $wac-green-color;
1386
+ &__date {
1387
+ width: auto;
1388
+ white-space: nowrap;
1389
+ position: relative;
1390
+ color: $wac-main-text;
1391
+ font-size: rem(14);
1392
+ line-height: rem(24);
1393
+ margin: 0 15px 0 0;
1394
+ letter-spacing: 0.65px;
1395
+ &:after {
1396
+ content: '';
1397
+ display: block;
1398
+ position: absolute;
1399
+ width: 1px;
1400
+ height: 15px;
1401
+ background-color: $wac-input-border;
1402
+ top: 50%;
1403
+ right: -15px;
1404
+ transform: translateY(-50%);
1405
+ }
1470
1406
  }
1471
- .is-danger & {
1472
- background-color: $wac-primary-button;
1407
+ &__time {
1408
+ width: auto;
1409
+ white-space: nowrap;
1410
+ font-size: rem(14);
1411
+ line-height: rem(24);
1412
+ color: $wac-main-text;
1413
+ margin: 0 15px;
1414
+ letter-spacing: 1.3px;
1415
+ }
1416
+ &__close {
1417
+ width: 10px;
1418
+ cursor: pointer;
1419
+ i {
1420
+ font-size: 14px;
1421
+ transition: color 300ms ease;
1422
+ color: $wac-primary-button;
1423
+ font-weight: 400;
1424
+ }
1425
+ &:hover,
1426
+ &:focus {
1427
+ i {
1428
+ color: darken($wac-primary-button, 15%);
1429
+ }
1430
+ }
1473
1431
  }
1474
1432
  }
1475
- }
1476
-
1477
- &.deletePosition-center .wac-button__confirmDelete {
1478
- left: 50%;
1479
- transform: translateX(-50%) translateY(-1px);
1480
- }
1481
-
1482
- &.deletePosition-right .wac-button__confirmDelete {
1483
- right: 0;
1484
- transform: translateY(-1px);
1485
- }
1486
-
1487
- &.deletePosition-left .wac-button__confirmDelete {
1488
- left: 0;
1489
- transform: translateY(-1px);
1490
- }
1491
-
1492
- &__confirmDelete {
1493
- overflow: hidden;
1494
- max-width: 0;
1495
- height: 40px;
1496
- position: absolute;
1497
- top: 0;
1498
- z-index: 2;
1499
- transition: .3s ease!important;
1500
- border-radius: 3px;
1501
-
1502
-
1503
- .is-success & {
1504
- background-color: $wac-green-color;
1505
- &:hover, &:focus {
1506
- background-color: darken($wac-green-color, 15%);
1433
+ &__editInPlace {
1434
+ display: flex;
1435
+ justify-content: space-between;
1436
+ padding: 5px 0;
1437
+ position: relative;
1438
+ align-content: center;
1439
+ align-items: center;
1440
+ cursor: pointer;
1441
+ max-width: 140px;
1442
+ &:after {
1443
+ position: absolute;
1444
+ content: '';
1445
+ border-bottom: dashed 1px $wac-calendar-primary;
1446
+ width: 100%;
1447
+ bottom: 0;
1448
+ left: 0;
1507
1449
  }
1508
- }
1509
- .is-danger & {
1510
- background-color: $wac-primary-button;
1511
- &:hover, &:focus {
1512
- background-color: darken($wac-primary-button, 15%);
1450
+ &__icon {
1451
+ width: 12px;
1452
+ margin: 0 5px 0 0;
1453
+ display: flex;
1454
+ justify-content: space-between;
1455
+ align-items: center;
1456
+ align-content: center;
1457
+ i {
1458
+ font-size: rem(14);
1459
+ color: $wac-wizishop-blue;
1460
+ transition: color 300ms ease;
1461
+ }
1513
1462
  }
1514
- }
1515
- &__text {
1516
- position: absolute;
1517
- top: 0;
1518
- left: 50%;
1519
- transform: translateX(-50%);
1520
- width: auto;
1521
- white-space: nowrap;
1522
- height: rem(40);
1523
- line-height: rem(40);
1524
- color: $wac-white !important;
1525
- padding: 0 20px;
1526
- font-size: rem(14);
1527
- opacity: 0;
1528
- transition: .3s ease;
1529
- }
1530
- }
1531
-
1532
- &.step-delete {
1533
- i {
1534
- transition: .3s ease!important;
1535
- opacity: 0!important;
1536
- }
1537
- .wac-button__confirmDelete {
1538
- transition: .6s ease .3s!important;
1539
- &__text {
1540
- opacity: 1;
1541
- transition: .3s ease .9s;
1463
+ &__date {
1464
+ position: relative;
1465
+ color: $wac-header-color;
1466
+ font-size: rem(14);
1467
+ width: auto;
1468
+ transition: 300ms ease;
1469
+ white-space: nowrap;
1542
1470
  }
1543
- }
1544
- }
1545
-
1546
- &.alone {
1547
- padding: 7px 14.6px;
1548
-
1549
- .wac-button__wrapper i {
1550
- margin-right: 0;
1551
- }
1552
- }
1553
-
1554
- &.is-outlined {
1555
- &:hover,
1556
- &.hover {
1557
- .wac-button__wrapper, .wac-button__animation {
1558
- color: $wac-white;
1559
- transition: color 0.3s ease-in-out;
1471
+ &:hover,
1472
+ &:focus {
1473
+ .wac-calendar {
1474
+ &__wrapper {
1475
+ &__editInPlace {
1476
+ &__date {
1477
+ color: darken($wac-header-color, 30%);
1478
+ }
1479
+ &__icon {
1480
+ i {
1481
+ color: darken($wac-wizishop-blue, 15%);
1482
+ }
1483
+ }
1484
+ }
1485
+ }
1486
+ }
1560
1487
  }
1561
1488
  }
1562
- }
1563
-
1564
- &.is-dark {
1565
- background-color: $wac-main-text;
1566
- border-color: $wac-main-text;
1567
- transition: background-color 0.3s ease-in-out;
1568
-
1569
- .wac-button__loader {
1570
- background-color: $wac-main-text;
1571
- }
1572
-
1573
- &:hover,
1574
- &.hover {
1575
- background-color: $wac-main-text-lighten;
1576
- border-color: $wac-main-text-lighten;
1577
- transition: background-color 0.3s ease-in-out;
1578
- }
1579
-
1580
- &:focus,
1581
- &.focus {
1582
- background-color: $wac-main-text-lighten;
1583
- border-color: $wac-main-text-lighten;
1584
- transition: background-color 0.3s ease-in-out;
1585
- }
1586
-
1587
- &.is-outlined {
1588
- background-color: transparent;
1589
- border-color: $wac-main-text;
1590
-
1591
- .wac-button__loader {
1592
- background-color: $wac-main-text;
1593
- }
1594
-
1595
- .wac-button__wrapper, .wac-button__animation {
1596
- color: $wac-main-text;
1597
- transition: color 0.3s ease-in-out;
1489
+ &__select {
1490
+ border-radius: 3px;
1491
+ display: flex;
1492
+ justify-content: flex-start;
1493
+ align-items: center;
1494
+ align-content: center;
1495
+ min-width: 220px;
1496
+ max-width: 220px;
1497
+ padding: 11px 19px;
1498
+ border: 1px solid $wac-input-border;
1499
+ cursor: pointer;
1500
+ background: $wac-white no-repeat center right 15px
1501
+ url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%226.032%22%3E%3Cpath%20data-name%3D%22Arrow%20copie%203%22%20d%3D%22M0%20.016L5%204.65l5-4.634v1.378L5%206.028%200%201.394V.02z%22%20fill%3D%22%231e2e43%22%20fill-rule%3D%22evenodd%22/%3E%3C/svg%3E);
1502
+ &__icon {
1503
+ width: 16px;
1504
+ margin: 0 10px 0 0;
1505
+ display: flex;
1506
+ justify-content: space-between;
1507
+ align-items: center;
1508
+ align-content: center;
1509
+ cursor: pointer;
1510
+ &:hover,
1511
+ &:focus {
1512
+ i {
1513
+ color: darken($wac-second-color, 15%);
1514
+ }
1515
+ }
1516
+ i {
1517
+ font-size: rem(18);
1518
+ font-weight: 400;
1519
+ color: $wac-second-color;
1520
+ transition: color 300ms ease;
1521
+ }
1598
1522
  }
1599
-
1600
- &:hover,
1601
- &.hover {
1602
- background-color: $wac-main-text;
1603
- border-color: $wac-main-text;
1604
- .wac-button__wrapper, .wac-button__animation {
1605
- color: $wac-white;
1606
- transition: color 0.3s ease-in-out;
1523
+ &__date {
1524
+ width: auto;
1525
+ position: relative;
1526
+ color: $wac-header-color;
1527
+ font-size: rem(14);
1528
+ white-space: nowrap;
1529
+ margin: 0;
1530
+ &:after {
1531
+ display: none;
1607
1532
  }
1608
1533
  }
1609
-
1610
- &:focus,
1611
- &.focus {
1612
- background-color: $wac-main-text;
1613
- border-color: $wac-main-text;
1614
- transition: background-color 0.3s ease-in-out;
1615
- .wac-button__wrapper, .wac-button__animation {
1616
- color: $wac-white;
1617
- transition: color 0.3s ease-in-out;
1534
+ &__close {
1535
+ width: 10px;
1536
+ cursor: pointer;
1537
+ i {
1538
+ font-size: 14px;
1539
+ transition: color 300ms ease;
1540
+ color: $wac-primary-button;
1541
+ }
1542
+ &:hover,
1543
+ &:focus {
1544
+ i {
1545
+ color: darken($wac-primary-button, 15%);
1546
+ }
1618
1547
  }
1619
1548
  }
1620
1549
  }
1621
1550
  }
1622
-
1623
- &.is-info {
1624
- background-color: $wac-wizishop-blue-button;
1625
- border-color: $wac-wizishop-blue-button;
1626
- transition: background-color 0.3s ease-in-out;
1627
-
1628
- .wac-button__loader {
1629
- background-color: $wac-wizishop-blue-button-darken;
1630
- }
1631
-
1632
- &:hover,
1633
- &.hover {
1634
- background-color: $wac-wizishop-blue-button-darken;
1635
- border-color: $wac-wizishop-blue-button-darken;
1636
- transition: background-color 0.3s ease-in-out;
1637
- }
1638
-
1639
- &:focus,
1640
- &.focus {
1641
- background-color: $wac-wizishop-blue-button-focus;
1642
- border-color: $wac-wizishop-blue-button-focus;
1643
- transition: background-color 0.3s ease-in-out;
1551
+ &__absolute {
1552
+ position: absolute;
1553
+ top: 100%;
1554
+ left: 50%;
1555
+ transform: translateX(-50%);
1556
+ visibility: hidden;
1557
+ opacity: 0;
1558
+ transition: 0.3s ease opacity, 0s visibility 0.31s;
1559
+ border: 1px solid $wac-border-light;
1560
+ background-color: $wac-white;
1561
+ box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
1562
+ border-radius: 3px;
1563
+ max-width: 268px;
1564
+ min-width: 268px;
1565
+ &.bottom {
1566
+ transform: translateX(-50%) translateY(10px);
1644
1567
  }
1645
-
1646
- &.is-outlined {
1647
- background-color: transparent;
1648
- border-color: $wac-wizishop-blue-button;
1649
-
1650
- .wac-button__loader {
1651
- background-color: $wac-wizishop-blue-button-darken;
1568
+ &.top {
1569
+ top: auto;
1570
+ bottom: 100%;
1571
+ transform: translateX(-50%) translateY(-10px);
1572
+ }
1573
+ &.left {
1574
+ transform: translateY(-50%) translateX(-10px);
1575
+ left: auto;
1576
+ right: 100%;
1577
+ top: 50%;
1578
+ }
1579
+ &.right {
1580
+ transform: translateY(-50%) translateX(10px);
1581
+ left: 100%;
1582
+ top: 50%;
1583
+ }
1584
+ &.left-top {
1585
+ left: auto;
1586
+ right: 100%;
1587
+ top: auto;
1588
+ bottom: 0;
1589
+ transform: translateY(-10px) translateX(-10px);
1590
+ }
1591
+ &.left-bottom {
1592
+ left: auto;
1593
+ right: 100%;
1594
+ top: 0;
1595
+ transform: translateY(10px) translateX(-10px);
1596
+ }
1597
+ &.right-top {
1598
+ left: 100%;
1599
+ top: auto;
1600
+ bottom: 0;
1601
+ transform: translateY(-10px) translateX(10px);
1602
+ }
1603
+ &.right-bottom {
1604
+ left: 100%;
1605
+ top: 0;
1606
+ transform: translateY(10px) translateX(10px);
1607
+ }
1608
+ & > * > * {
1609
+ width: 265px;
1610
+ }
1611
+ &__time {
1612
+ position: relative;
1613
+ background-color: $wac-white;
1614
+ padding: 20px;
1615
+ width: 100%;
1616
+ &:before {
1617
+ content: '';
1618
+ width: 100%;
1619
+ height: 5px;
1620
+ bottom: 100%;
1621
+ margin-bottom: -2px;
1622
+ display: block;
1623
+ position: absolute;
1624
+ left: 0;
1625
+ background-color: $wac-white;
1652
1626
  }
1627
+ &__wrapper {
1628
+ width: 100% !important;
1629
+ display: flex;
1630
+ align-items: center;
1631
+ align-content: center;
1632
+ justify-content: center;
1633
+ min-height: 42px;
1634
+ position: relative;
1635
+ &:before {
1636
+ content: '';
1637
+ display: block;
1638
+ background-color: $wac-wizishop-blue;
1639
+ width: 4px;
1640
+ height: 4px;
1641
+ border-radius: 50%;
1642
+ position: absolute;
1643
+ top: 50%;
1644
+ left: 50%;
1645
+ transform: translate(-50%, -50%);
1646
+ margin-top: -4px;
1647
+ }
1648
+ &:after {
1649
+ content: '';
1650
+ display: block;
1651
+ background-color: $wac-wizishop-blue;
1652
+ width: 4px;
1653
+ height: 4px;
1654
+ border-radius: 50%;
1655
+ position: absolute;
1656
+ top: 50%;
1657
+ left: 50%;
1658
+ transform: translate(-50%, -50%);
1659
+ margin-top: 4px;
1660
+ }
1661
+ &__hours,
1662
+ &__minutes {
1663
+ position: relative;
1664
+ width: 100px;
1665
+ display: flex;
1666
+ flex-wrap: nowrap;
1667
+ &__left,
1668
+ &__right {
1669
+ width: 100%;
1670
+ display: flex;
1671
+ flex-wrap: nowrap;
1672
+ justify-content: center;
1673
+ flex-direction: column;
1674
+ align-items: center;
1675
+ align-content: center;
1676
+ }
1677
+ &__btn {
1678
+ display: flex;
1679
+ justify-content: center;
1680
+ flex-direction: column;
1681
+ align-items: center;
1682
+ align-content: center;
1683
+ width: 40px;
1684
+ height: 20px;
1685
+ background-color: $wac-gray-background;
1686
+ box-shadow: none;
1687
+ border: none;
1688
+ cursor: pointer;
1689
+ transition: 0.3s ease;
1690
+ &:hover,
1691
+ &:focus {
1692
+ background-color: $wac-wizishop-blue;
1693
+ i {
1694
+ color: $wac-white;
1695
+ }
1696
+ }
1697
+ &:first-child {
1698
+ margin: 0 0 2px;
1699
+ }
1700
+ i {
1701
+ font-size: rem(10);
1702
+ color: $wac-second-color;
1703
+ margin: 0;
1704
+ }
1705
+ }
1653
1706
 
1654
- .wac-button__wrapper, .wac-button__animation {
1655
- color: $wac-wizishop-blue-button;
1656
- transition: color 0.3s ease-in-out;
1657
- }
1707
+ input::-webkit-outer-spin-button,
1708
+ input::-webkit-inner-spin-button {
1709
+ -webkit-appearance: none;
1710
+ margin: 0;
1711
+ }
1658
1712
 
1659
- &:hover,
1660
- &.hover {
1661
- background-color: $wac-wizishop-blue-button;
1662
- border-color: $wac-wizishop-blue-button;
1663
- }
1713
+ /* Firefox */
1714
+ input[type='number'] {
1715
+ -moz-appearance: textfield;
1716
+ }
1664
1717
 
1665
- &:focus,
1666
- &.focus {
1667
- background-color: $wac-wizishop-blue-button-focus;
1668
- border-color: $wac-wizishop-blue-button-focus;
1669
- transition: background-color 0.3s ease-in-out;
1718
+ input {
1719
+ border: none;
1720
+ text-align: center;
1721
+ font-size: rem(24);
1722
+ color: $wac-wizishop-blue;
1723
+ padding: 0;
1724
+ line-height: 1.4;
1725
+ margin: 0;
1726
+ width: 100%;
1727
+ }
1728
+ }
1729
+ &__hours {
1730
+ margin: 0 10px 0 0;
1731
+ }
1732
+ &__minutes {
1733
+ margin: 0 0 0 10px;
1734
+ }
1670
1735
  }
1671
1736
  }
1737
+ }
1738
+ }
1672
1739
 
1673
- &.is-loading {
1674
- &:hover,
1675
- &.hover {
1676
- background-color: $wac-wizishop-blue-button;
1677
- transition: background-color 0.3s ease-in-out;
1678
- }
1679
- &:focus,
1680
- &.focus {
1681
- background-color: $wac-wizishop-blue-button-focus;
1682
- border-color: $wac-wizishop-blue-button-focus;
1683
- transition: background-color 0.3s ease-in-out;
1684
- }
1685
- }
1740
+ .datetimepicker-dummy .datetimepicker-clear-button {
1741
+ top: -3px !important;
1742
+ }
1686
1743
 
1687
- &.disabled {
1688
- background-color: $wac-wizishop-blue-button-disabled;
1689
- border-color: $wac-wizishop-blue-button-disabled;
1690
- transition: 0s;
1691
- cursor: default;
1692
- .wac-button__wrapper, .wac-button__animation {
1693
- color: $wac-white;
1694
- }
1695
- &:hover,
1696
- &:focus,
1697
- &.hover,
1698
- &.focus {
1699
- background-color: $wac-wizishop-blue-button-disabled;
1700
- border-color: $wac-wizishop-blue-button-disabled;
1701
- }
1702
- }
1703
- }
1744
+ .datetimepicker-dummy .datetimepicker-dummy-wrapper {
1745
+ border: 1px solid $wac-border-color;
1746
+ border-radius: rem(3);
1704
1747
 
1705
- &.is-orange {
1706
- background-color: $wac-orange-color;
1707
- border-color: $wac-orange-color;
1708
- transition: background-color 0.3s ease-in-out;
1748
+ &:hover,
1749
+ &:focus {
1750
+ border: 1px solid $wac-wizishop-blue;
1751
+ }
1752
+ }
1709
1753
 
1710
- .wac-button__loader {
1711
- background-color: $wac-orange-color-darken;
1712
- }
1713
1754
 
1714
- &:hover,
1715
- &.hover {
1716
- background-color: $wac-orange-color-darken;
1717
- border-color: $wac-orange-color-darken;
1718
- transition: background-color 0.3s ease-in-out;
1719
- }
1755
+ .datetimepicker {
1756
+ box-shadow: none !important;
1757
+ &-wrapper {
1758
+ border: none !important;
1759
+ box-shadow: none;
1760
+ background: $wac-white;
1761
+ }
1762
+ }
1720
1763
 
1721
- &:focus,
1722
- &.focus {
1723
- background-color: $wac-orange-color-focus;
1724
- border-color: $wac-orange-color-focus;
1725
- transition: background-color 0.3s ease-in-out;
1764
+ .datepicker {
1765
+ .datepicker {
1766
+ &-nav {
1767
+ background: $wac-white !important;
1768
+ color: $wac-main-text !important;
1769
+ padding: 15px !important;
1726
1770
  }
1771
+ }
1772
+ }
1727
1773
 
1728
- &.is-outlined {
1729
- background-color: transparent;
1730
- border-color: $wac-orange-color;
1731
-
1732
- .wac-button__loader {
1733
- background-color: $wac-orange-color-darken;
1734
- }
1774
+ .datetimepicker .datepicker-nav .datepicker-nav-month,
1775
+ .datetimepicker .datepicker-nav .datepicker-nav-year {
1776
+ color: $wac-main-text !important;
1777
+ font-weight: 500 !important;
1778
+ &:hover,
1779
+ &:focus {
1780
+ color: $wac-wizishop-blue !important;
1781
+ }
1782
+ }
1735
1783
 
1736
- .wac-button__wrapper, .wac-button__animation {
1737
- color: $wac-orange-color;
1738
- transition: color 0.3s ease-in-out;
1739
- }
1784
+ .datepicker-nav-year {
1785
+ font-weight: 500 !important;
1786
+ }
1740
1787
 
1741
- &:hover,
1742
- &.hover {
1743
- background-color: $wac-orange-color;
1744
- border-color: $wac-orange-color;
1745
- }
1788
+ .datetimepicker .datepicker-nav .datepicker-nav-previous,
1789
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
1790
+ border-radius: 3px;
1791
+ color: $wac-main-text !important;
1792
+ width: 25px !important;
1793
+ height: 25px !important;
1794
+ display: flex;
1795
+ justify-content: center;
1796
+ align-items: center;
1797
+ align-content: center;
1798
+ border: 1px solid $wac-border-light;
1799
+ transition: 0.3s ease;
1800
+ > svg {
1801
+ display: none !important;
1802
+ }
1803
+ }
1746
1804
 
1747
- &:focus,
1748
- &.focus {
1749
- background-color: $wac-orange-color-focus;
1750
- border-color: $wac-orange-color-focus;
1751
- transition: background-color 0.3s ease-in-out;
1752
- }
1753
- }
1805
+ .datetimepicker .datepicker-nav .datepicker-nav-previous {
1806
+ background: $wac-white
1807
+ url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-left' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z' class=''%3E%3C/path%3E%3C/svg%3E")
1808
+ center center no-repeat !important;
1809
+ background-size: 6px auto !important;
1810
+ &:hover,
1811
+ &:focus {
1812
+ border-color: $wac-wizishop-blue !important;
1813
+ }
1814
+ }
1754
1815
 
1755
- &.is-loading {
1756
- &:hover,
1757
- &.hover {
1758
- background-color: $wac-orange-color;
1759
- transition: background-color 0.3s ease-in-out;
1760
- }
1761
- &:focus,
1762
- &.focus {
1763
- background-color: $wac-orange-color-focus;
1764
- border-color: $wac-orange-color-focus;
1765
- transition: background-color 0.3s ease-in-out;
1766
- }
1767
- }
1816
+ .datetimepicker .datepicker-nav .datepicker-nav-next {
1817
+ background: $wac-white
1818
+ url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-right' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z' class=''%3E%3C/path%3E%3C/svg%3E")
1819
+ center center no-repeat !important;
1820
+ background-size: 6px auto !important;
1821
+ &:hover,
1822
+ &:focus {
1823
+ border-color: $wac-wizishop-blue !important;
1824
+ }
1825
+ }
1768
1826
 
1769
- &.disabled {
1770
- background-color: $wac-orange-color-disabled;
1771
- border-color: $wac-orange-color-disabled;
1772
- transition: 0s;
1773
- cursor: default;
1774
- .wac-button__wrapper, .wac-button__animation {
1775
- color: $wac-white;
1776
- }
1777
- &:hover,
1778
- &:focus,
1779
- &.hover,
1780
- &.focus {
1781
- background-color: $wac-orange-color-disabled;
1782
- border-color: $wac-orange-color-disabled;
1783
- }
1827
+ .wac-calendar__absolute {
1828
+ .datetimepicker .datepicker-body .datepicker-weekdays {
1829
+ padding: 0 15px;
1830
+ }
1831
+ .datepicker-weekdays {
1832
+ height: 14px;
1833
+ margin: 0 0 rem(12);
1834
+ .datepicker-date {
1835
+ font-size: rem(12);
1836
+ white-space: nowrap;
1837
+ line-height: 1;
1838
+ padding: 0 !important;
1839
+ color: $wac-secondary-color !important;
1784
1840
  }
1785
1841
  }
1842
+ .datepicker-days {
1843
+ padding: 0 15px !important;
1844
+ }
1845
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
1846
+ background-color: $wac-wizishop-blue;
1847
+ }
1848
+ .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
1849
+ border-color: $wac-wizishop-blue;
1850
+ }
1851
+ }
1786
1852
 
1787
- &.is-pink {
1788
- background-color: $wac-pink-color;
1789
- border-color: $wac-pink-color;
1790
- transition: background-color 0.3s ease-in-out;
1791
-
1792
- .wac-button__loader {
1793
- background-color: $wac-pink-color-darken;
1853
+ .datetimepicker .datetimepicker-footer {
1854
+ display: none;
1855
+ }
1856
+ .wac-snackbar {
1857
+ .notification {
1858
+ position: fixed;
1859
+ bottom: 0;
1860
+ width: 800px;
1861
+ color: #fff;
1862
+ font-size: 15px;
1863
+ font-weight: 300;
1864
+ margin: 0 auto;
1865
+ left: 0;
1866
+ right: 0;
1867
+ z-index: 10;
1794
1868
  }
1795
1869
 
1796
- &:hover,
1797
- &.hover {
1798
- background-color: $wac-pink-color-darken;
1799
- border-color: $wac-pink-color-darken;
1800
- transition: background-color 0.3s ease-in-out;
1870
+ .notification.is-transparent {
1871
+ background-color: rgba(0, 0, 0, 0.8);
1801
1872
  }
1802
1873
 
1803
- &:focus,
1804
- &.focus {
1805
- background-color: $wac-pink-color-focus;
1806
- border-color: $wac-pink-color-focus;
1807
- transition: background-color 0.3s ease-in-out;
1874
+ .notification button {
1875
+ word-wrap: break-word;
1876
+ word-break: break-all;
1877
+ white-space: normal;
1878
+ height: 100%;
1879
+ margin-right: 1em;
1808
1880
  }
1809
1881
 
1810
- &.is-outlined {
1811
- background-color: transparent;
1812
- border-color: $wac-pink-color;
1882
+ .notification .column:nth-child(2) {
1883
+ text-align: right;
1884
+ }
1813
1885
 
1814
- .wac-button__loader {
1815
- background-color: $wac-pink-color-darken;
1816
- }
1886
+ .notification .column:nth-child(1) {
1887
+ text-align: left;
1888
+ }
1817
1889
 
1818
- .wac-button__wrapper, .wac-button__animation {
1819
- color: $wac-pink-color;
1820
- transition: color 0.3s ease-in-out;
1821
- }
1890
+ .notification--message {
1891
+ align-self: center;
1892
+ }
1822
1893
 
1823
- &:hover,
1824
- &.hover {
1825
- background-color: $wac-pink-color;
1826
- border-color: $wac-pink-color;
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
+ }
1827
1910
  }
1828
-
1829
- &:focus,
1830
- &.focus {
1831
- background-color: $wac-pink-color-focus;
1832
- border-color: $wac-pink-color-focus;
1833
- transition: background-color 0.3s ease-in-out;
1911
+ }
1912
+ }
1913
+ &__row {
1914
+ position: relative;
1915
+ min-width: 100%;
1916
+ margin: 0;
1917
+ }
1918
+ &--nowrap {
1919
+ display: inline-block;
1920
+ 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;
1834
1928
  }
1835
1929
  }
1930
+ }
1836
1931
 
1837
- &.is-loading {
1838
- &:hover,
1839
- &.hover {
1840
- background-color: $wac-pink-color;
1841
- transition: background-color 0.3s ease-in-out;
1842
- }
1843
- &:focus,
1844
- &.focus {
1845
- background-color: $wac-pink-color-focus;
1846
- border-color: $wac-pink-color-focus;
1847
- transition: background-color 0.3s ease-in-out;
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;
1848
1948
  }
1849
- }
1850
-
1851
- &.disabled {
1852
- background-color: $wac-pink-color-disabled;
1853
- border-color: $wac-pink-color-disabled;
1854
- transition: 0s;
1855
- cursor: default;
1856
- .wac-button__wrapper, .wac-button__animation {
1857
- color: $wac-white;
1949
+ &::-moz-placeholder {
1950
+ /* Firefox 19+ */
1951
+ opacity: 0;
1858
1952
  }
1859
- &:hover,
1860
- &:focus,
1861
- &.hover,
1862
- &.focus {
1863
- background-color: $wac-pink-color-disabled;
1864
- border-color: $wac-pink-color-disabled;
1953
+ &:-ms-input-placeholder {
1954
+ /* IE 10+ */
1955
+ opacity: 0;
1956
+ }
1957
+ &:-moz-placeholder {
1958
+ /* Firefox 18- */
1959
+ opacity: 0;
1865
1960
  }
1866
1961
  }
1867
1962
  }
1963
+ &.alone {
1964
+ .is-checkradio[type='checkbox'] {
1965
+ & + label {
1966
+ padding-left: 9px;
1967
+ margin-right: 0px;
1868
1968
 
1869
- &.is-grey {
1870
- background-color: $wac-background-color;
1871
- border-color: $wac-background-color;
1872
- transition: background-color 0.3s ease-in-out;
1873
-
1874
- .wac-button__loader {
1875
- background-color: $wac-background-color-darken;
1876
- }
1877
-
1878
- .wac-button__wrapper, .wac-button__animation {
1879
- color: $wac-second-color;
1880
- transition: color 0.3s ease-in-out;
1881
- }
1882
-
1883
- &:hover,
1884
- &.hover {
1885
- background-color: $wac-background-color-darken;
1886
- border-color: $wac-background-color-darken;
1887
- transition: background-color 0.3s ease-in-out;
1888
- }
1889
-
1890
- &:focus,
1891
- &.focus {
1892
- background-color: $wac-background-color-focus;
1893
- border-color: $wac-background-color-focus;
1894
- transition: background-color 0.3s ease-in-out;
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
+ }
1895
1982
  }
1983
+ }
1896
1984
 
1897
- &.is-outlined {
1898
- background-color: transparent;
1899
- border-color: $wac-border-light;
1900
-
1901
- .wac-button__loader {
1902
- background-color: $wac-background-color-darken;
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;
1996
+ &:before {
1997
+ width: 16px;
1998
+ height: 16px;
1999
+ border: 1px solid $wac-border-color;
2000
+ top: 0;
2001
+ transition: all 0.3s ease-in-out;
1903
2002
  }
1904
-
1905
- .wac-button__wrapper, .wac-button__animation {
1906
- color: $wac-second-color !important;
1907
- transition: color 0.3s ease-in-out;
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;
2014
+ }
2015
+ span {
2016
+ margin: 0 0 0 rem(16);
2017
+ display: inline-block;
1908
2018
  }
1909
-
1910
2019
  &:hover,
1911
- &.hover {
1912
- background-color: $wac-background-color;
1913
- border-color: $wac-background-color;
2020
+ &:focus {
2021
+ &:before {
2022
+ border-color: $wac-input-active-color !important;
2023
+ }
1914
2024
  }
1915
-
1916
- &:focus,
1917
- &.focus {
1918
- background-color: $wac-background-color-focus;
1919
- border-color: $wac-background-color-focus;
1920
- transition: background-color 0.3s ease-in-out;
2025
+ &:before,
2026
+ &:after {
2027
+ outline: 0 !important;
1921
2028
  }
1922
2029
  }
1923
-
1924
- &.is-loading {
1925
- &:hover,
1926
- &.hover {
1927
- background-color: $wac-background-color;
1928
- transition: background-color 0.3s ease-in-out;
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
+ }
2045
+ }
1929
2046
  }
1930
2047
  }
1931
-
1932
- &.disabled {
1933
- background-color: $wac-background-color-disabled;
1934
- border-color: $wac-background-color-disabled;
1935
- transition: 0s;
1936
- cursor: default;
1937
-
1938
- &:hover,
1939
- &:focus,
1940
- &.hover,
1941
- &.focus {
1942
- background-color: $wac-background-color-disabled;
1943
- border-color: $wac-background-color-disabled;
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;
1944
2059
  }
1945
2060
  }
1946
2061
  }
1947
2062
 
1948
- &.is-danger {
1949
- background-color: $wac-primary-button;
1950
- border-color: $wac-primary-button;
1951
- transition: background-color 0.3s ease-in-out;
2063
+ }
2064
+ .wac-state {
2065
+ width: 12px;
2066
+ height: 12px;
2067
+ position: relative;
1952
2068
 
1953
- .wac-button__loader {
1954
- background-color: $wac-primary-button-darken;
2069
+ &:before,
2070
+ &:after {
2071
+ position: absolute;
2072
+ content: '';
2073
+ border-radius: 45px;
2074
+ }
2075
+
2076
+ &:before {
2077
+ width: 100%;
2078
+ height: 100%;
2079
+ left: 0;
2080
+ top: 0;
2081
+ border-width: 1px;
2082
+ border-style: solid;
2083
+ }
2084
+
2085
+ &:after {
2086
+ width: 6px;
2087
+ height: 6px;
2088
+ top: 50%;
2089
+ left: 50%;
2090
+ transform: translate(-50%, -50%);
2091
+ }
2092
+
2093
+ &.success {
2094
+ &:before {
2095
+ border-color: $wac-green-color;
1955
2096
  }
1956
2097
 
1957
- &:hover,
1958
- &.hover {
1959
- background-color: $wac-primary-button-darken;
1960
- border-color: $wac-primary-button-darken;
1961
- transition: background-color 0.3s ease-in-out;
2098
+ &:after {
2099
+ background-color: $wac-green-color;
1962
2100
  }
2101
+ }
1963
2102
 
1964
- &:focus,
1965
- &.focus {
1966
- background-color: $wac-primary-button-focus;
1967
- border-color: $wac-primary-button-focus;
1968
- transition: background-color 0.3s ease-in-out;
2103
+ &.warning {
2104
+ &:before {
2105
+ border-color: $wac-warning-color;
1969
2106
  }
1970
2107
 
1971
- &.is-outlined {
1972
- background-color: transparent;
1973
- border-color: $wac-primary-button;
2108
+ &:after {
2109
+ background-color: $wac-warning-color;
2110
+ }
2111
+ }
1974
2112
 
1975
- .wac-button__wrapper, .wac-button__animation {
1976
- color: $wac-primary-button;
1977
- transition: color 0.3s ease-in-out;
1978
- }
1979
-
1980
- &:hover,
1981
- &.hover {
1982
- background-color: $wac-primary-button;
1983
- border-color: $wac-primary-button;
1984
- }
1985
-
1986
- &:focus,
1987
- &.focus {
1988
- background-color: $wac-primary-button-focus;
1989
- border-color: $wac-primary-button-focus;
1990
- transition: background-color 0.3s ease-in-out;
1991
- }
1992
- }
1993
-
1994
- &.is-loading {
1995
- &:hover,
1996
- &.hover {
1997
- background-color: $wac-primary-button;
1998
- transition: background-color 0.3s ease-in-out;
1999
- }
2000
- }
2001
-
2002
- &.opacity {
2003
- background-color: $wac-primary-button-light;
2004
- border-color: $wac-primary-button-light;
2005
- &:hover, &:focus {
2006
- background-color: $wac-primary-button;
2007
- border-color: $wac-primary-button;
2008
- }
2113
+ &.error {
2114
+ &:before {
2115
+ border-color: $wac-primary-button;
2009
2116
  }
2010
2117
 
2011
- &.disabled {
2012
- background-color: $wac-primary-button-disabled;
2013
- border-color: $wac-primary-button-disabled;
2014
- transition: 0s;
2015
- cursor: default;
2016
-
2017
- .wac-button__wrapper, .wac-button__animation {
2018
- color: $wac-white;
2019
- }
2020
-
2021
- &:hover,
2022
- &:focus,
2023
- &.hover,
2024
- &.focus {
2025
- background-color: $wac-primary-button-disabled;
2026
- border-color: $wac-primary-button-disabled;
2027
- }
2118
+ &:after {
2119
+ background-color: $wac-primary-button;
2028
2120
  }
2029
2121
  }
2122
+ }
2123
+ .wac-delete {
2124
+ width: 40px;
2125
+ height: 40px;
2030
2126
 
2031
- &.is-success {
2032
- background-color: $wac-green-color;
2033
- border-color: $wac-green-color;
2127
+ &__wrapper {
2128
+ @include flexbox();
2129
+ @include justify-content(center);
2130
+ @include align-items(center);
2131
+ width: 100%;
2132
+ height: 100%;
2133
+ border-radius: 3px;
2134
+ background-color: transparent;
2034
2135
  transition: background-color 0.3s ease-in-out;
2035
2136
 
2036
- .wac-button__loader {
2037
- background-color: $wac-green-color-darken;
2038
- }
2039
-
2040
- &:hover,
2041
- &.hover {
2042
- background-color: $wac-green-color-darken;
2043
- border-color: $wac-green-color-darken;
2044
- transition: background-color 0.3s ease-in-out;
2137
+ i {
2138
+ color: $wac-border-form;
2139
+ font-size: 14px;
2140
+ line-height: 23px;
2141
+ transition: color 0.3s ease-in-out;
2045
2142
  }
2046
2143
 
2047
- &:focus,
2048
- &.focus {
2049
- background-color: $wac-green-color-focus;
2050
- border-color: $wac-green-color-focus;
2144
+ &:hover {
2145
+ background-color: $wac-primary-button;
2051
2146
  transition: background-color 0.3s ease-in-out;
2052
- }
2053
-
2054
- &.is-outlined {
2055
- background-color: transparent;
2056
- border-color: $wac-green-color;
2057
2147
 
2058
- .wac-button__wrapper, .wac-button__animation {
2059
- color: $wac-green-color;
2148
+ i {
2149
+ color: $wac-white;
2060
2150
  transition: color 0.3s ease-in-out;
2061
2151
  }
2062
-
2063
- &:hover,
2064
- &.hover {
2065
- background-color: $wac-green-color;
2066
- border-color: $wac-green-color;
2067
- }
2068
-
2069
- &:focus,
2070
- &.focus {
2071
- background-color: $wac-green-color-focus;
2072
- border-color: $wac-green-color-focus;
2073
- transition: background-color 0.3s ease-in-out;
2074
- }
2075
2152
  }
2153
+ }
2154
+ }
2076
2155
 
2077
- &.is-loading {
2078
- &:hover,
2079
- &.hover {
2080
- background-color: $wac-green-color;
2081
- transition: background-color 0.3s ease-in-out;
2156
+ .wac-switch {
2157
+ input {
2158
+ display: none;
2159
+ &:checked + label {
2160
+ &:before {
2161
+ background-color: $wac-bleu-color;
2082
2162
  }
2083
- }
2084
- &.opacity {
2085
- background-color: $wac-green-opacity;
2086
- border-color: $wac-green-opacity;
2087
- &:hover, &:focus {
2088
- background-color: $wac-green-color;
2089
- border-color: $wac-green-color;
2163
+ &:after {
2164
+ transform: translateY(-50%) translateX(24px) rotate(180deg);
2090
2165
  }
2091
- }
2092
- &.disabled {
2093
- background-color: $wac-green-color-disabled;
2094
- border-color: $wac-green-color-disabled;
2095
- transition: 0s;
2096
- cursor: default;
2097
-
2098
- .wac-button__wrapper, .wac-button__animation {
2099
- color: $wac-white;
2166
+ > span {
2167
+ .disable {
2168
+ display: none;
2169
+ }
2170
+ .enable {
2171
+ display: block;
2172
+ }
2100
2173
  }
2101
-
2102
- &:hover,
2103
- &:focus,
2104
- &.hover,
2105
- &.focus {
2106
- background-color: $wac-green-color-disabled;
2174
+ }
2175
+ &.danger {
2176
+ &:checked + label {
2177
+ &:before {
2178
+ background-color: $wac-red-color;
2179
+ }
2107
2180
  }
2108
2181
  }
2109
2182
  }
2110
-
2111
- &.is-light {
2112
- background-color: transparent;
2113
- border-color: $wac-border-color;
2114
- transition: background-color 0.3s ease-in-out;
2115
-
2116
- .wac-button__loader {
2117
- background-color: $wac-hover-btn-grey;
2118
- }
2119
-
2120
- .wac-button__wrapper, .wac-button__animation {
2121
- color: $wac-secondary-color;
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;
2122
2201
  }
2123
-
2124
- &:hover,
2125
- &.hover {
2126
- background-color: $wac-hover-btn-grey;
2127
- transition: background-color 0.3s ease-in-out;
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;
2128
2214
  }
2129
-
2130
- &.is-loading {
2131
- &:hover,
2132
- &.hover {
2133
- background-color: transparent;
2134
- transition: background-color 0.3s ease-in-out;
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;
2135
2222
  }
2136
- }
2137
- }
2138
-
2139
- &.disabled {
2140
- background-color: $wac-disabled-button-background;
2141
- border-color: $wac-border-form;
2142
-
2143
- .wac-button__wrapper, .wac-button__animation {
2144
- color: $wac-disabled-button-text;
2145
- }
2146
- }
2147
-
2148
- &.is-outlined {
2149
- &:hover,
2150
- &.hover {
2151
- .wac-button__wrapper, .wac-button__animation {
2152
- color: $wac-white;
2153
- transition: color 0.3s ease-in-out;
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
+ }
2154
2237
  }
2155
2238
  }
2156
2239
  }
2240
+ }
2157
2241
 
2158
- &__loader {
2159
- position: absolute;
2160
- left: -1px;
2161
- top: 0;
2162
- height: 100%;
2163
- z-index: 1;
2164
- transition: width 0.3s ease-in-out;
2165
- overflow: hidden;
2166
-
2167
- span {
2168
- position: absolute;
2169
- left: 20px;
2170
- top: 7px;
2171
- color: $wac-white;
2172
- overflow: hidden;
2173
- text-overflow: clip;
2174
- font-size: 14px;
2175
- line-height: 26px;
2176
- white-space: nowrap;
2177
- z-index: 3;
2178
-
2179
- i {
2180
- margin-right: 1.4px;
2181
- }
2182
- }
2183
-
2184
- &.outlined {
2185
- z-index: 4;
2186
- }
2187
- }
2188
-
2189
- &.alone {
2190
- .wac-button__loader span {
2191
- left: 14.6px;
2192
- }
2193
- }
2194
-
2195
- &.opacity {
2196
- min-width: rem(40);
2197
- min-height: rem(40);
2198
-
2199
- &.alone {
2200
- display: flex;
2201
- align-items: center;
2202
- justify-content: center;
2203
- }
2204
-
2205
- &.is-success {
2206
- i {
2207
- color: $wac-green-color!important;
2208
- }
2209
- &:hover, &:focus {
2210
- i {
2211
- color: $wac-white!important;
2212
- }
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);
2213
2260
  }
2214
2261
  }
2215
-
2216
- &.is-danger {
2217
- i {
2218
- color: $wac-primary-button!important;
2219
- }
2220
- &:hover, &:focus {
2221
- i {
2222
- color: $wac-white!important;
2223
- }
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);
2224
2269
  }
2225
2270
  }
2226
- }
2227
- }
2228
- .wac-snackbar {
2229
- .notification {
2230
- position: fixed;
2231
- bottom: 0;
2232
- width: 800px;
2233
- color: #fff;
2234
- font-size: 15px;
2235
- font-weight: 300;
2236
- margin: 0 auto;
2237
- left: 0;
2238
- right: 0;
2239
- z-index: 10;
2240
- }
2241
-
2242
- .notification.is-transparent {
2243
- background-color: rgba(0, 0, 0, 0.8);
2244
- }
2245
-
2246
- .notification button {
2247
- word-wrap: break-word;
2248
- word-break: break-all;
2249
- white-space: normal;
2250
- height: 100%;
2251
- margin-right: 1em;
2252
- }
2253
-
2254
- .notification .column:nth-child(2) {
2255
- text-align: right;
2256
- }
2257
-
2258
- .notification .column:nth-child(1) {
2259
- text-align: left;
2260
- }
2261
-
2262
- .notification--message {
2263
- align-self: center;
2264
- }
2265
-
2266
- }
2267
- .wac-field-checkbox {
2268
- &.disable-wt {
2269
- .wac-field-checkbox__row {
2270
- display: flex;
2271
- width: 100%;
2272
- }
2273
- .is-checkradio[type='checkbox'] {
2274
- & + label {
2275
- white-space: normal;
2276
- line-height: 1.4;
2277
- padding: 0;
2278
- > span {
2279
- margin: 0 0 0 30px;
2280
- transform: translateY(-4px);
2281
- }
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);
2282
2278
  }
2283
2279
  }
2284
- }
2285
- &__row {
2286
- position: relative;
2287
- min-width: 100%;
2288
- margin: 0;
2289
- }
2290
- &--nowrap {
2291
- display: inline-block;
2292
- width: auto;
2293
- min-width: 0;
2294
- margin: 0 10px 10px 0;
2295
- .field {
2296
- &__row {
2297
- width: auto;
2298
- display: inline-block;
2299
- margin: 0;
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);
2300
2287
  }
2301
2288
  }
2302
- }
2303
-
2304
- input[type='text'] {
2305
- height: 40px;
2306
- max-height: 40px;
2307
- padding: 0 20px;
2308
- line-height: 40px;
2309
- border: 1px solid $wac-border-form;
2310
- border-radius: 3px;
2311
- margin: 15px 0 10px !important;
2312
- font-size: rem(14) !important;
2313
- color: $wac-main-text;
2314
2289
  &:focus {
2315
- border-color: $wac-wizishop-blue !important;
2316
- box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
2317
2290
  &::-webkit-input-placeholder {
2318
2291
  /* Chrome/Opera/Safari */
2319
- opacity: 0;
2292
+ color: $wac-white;
2293
+ opacity: 1;
2320
2294
  }
2321
2295
  &::-moz-placeholder {
2322
2296
  /* Firefox 19+ */
2323
- opacity: 0;
2297
+ color: $wac-white;
2298
+ opacity: 1;
2324
2299
  }
2325
2300
  &:-ms-input-placeholder {
2326
2301
  /* IE 10+ */
2327
- opacity: 0;
2302
+ color: $wac-white;
2303
+ opacity: 1;
2328
2304
  }
2329
2305
  &:-moz-placeholder {
2330
2306
  /* Firefox 18- */
2331
- opacity: 0;
2307
+ color: $wac-white;
2308
+ opacity: 1;
2332
2309
  }
2333
2310
  }
2334
2311
  }
2335
- &.alone {
2336
- .is-checkradio[type='checkbox'] {
2337
- & + label {
2338
- padding-left: 9px;
2339
- margin-right: 0px;
2312
+ }
2313
+ .wac-edit-in-place.nwb-wrapper {
2314
+ display: inline-block;
2315
+ position: relative;
2316
+ width: auto;
2317
+ min-width: 12px;
2318
+ min-height: 1.4em;
2340
2319
 
2341
- &:before {
2342
- border-width: 1px;
2343
- width: 16px;
2344
- height: 16px;
2345
- border-radius: 2px;
2346
- }
2347
- }
2348
- &:checked + label {
2349
- &:after {
2350
- top: 7px;
2351
- transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
2352
- }
2353
- }
2320
+ input {
2321
+ font-size: inherit;
2322
+ transition: width 50ms;
2323
+ position: absolute;
2324
+ top: 0;
2325
+ left: -5px;
2326
+ width: calc(100% + 16px) !important;
2327
+ height: calc(100% + 14px) !important;
2328
+ padding: 5px;
2329
+ z-index: 1;
2330
+ margin: 0;
2331
+ outline: none !important;
2332
+ border: 1px solid $wac-edit-in-place-border;
2333
+ background: inherit;
2334
+ transform: translateY(-17%);
2335
+ background-color: $wac-edit-in-place-background;
2336
+
2337
+ &.nwb-editable {
2338
+ text-decoration: none;
2339
+ color: inherit;
2340
+ border: none;
2341
+ cursor: pointer;
2342
+ height: 26px;
2343
+ }
2344
+
2345
+ &.nwb-editing {
2346
+ color: $wac-edit-in-place-border;
2354
2347
  }
2355
2348
  }
2356
2349
 
2357
- .is-checkradio[type='checkbox'] {
2358
- outline: 0 !important;
2359
- top: 0;
2360
- & + label {
2361
- font-size: rem(14);
2362
- line-height: 0;
2363
- color: $wac-input-radio-color-label;
2364
- white-space: nowrap;
2365
- padding: 0 8px;
2366
- margin-right: 0;
2367
- outline: 0 !important;
2368
- &:before {
2369
- width: 16px;
2370
- height: 16px;
2371
- border: 1px solid $wac-border-color;
2372
- top: 0;
2373
- transition: all 0.3s ease-in-out;
2374
- }
2375
- &:after {
2376
- top: 2.3px !important;
2377
- left: 3px !important;
2378
- width: 10px;
2379
- height: 12px;
2380
- border: none !important;
2381
- background: transparent
2382
- 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")
2383
- center center / 8px 8px no-repeat;
2384
- transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
2385
- transition: all 0.3s ease-in-out;
2386
- }
2387
- span {
2388
- margin: 0 0 0 rem(16);
2389
- display: inline-block;
2390
- }
2391
- &:hover,
2392
- &:focus {
2393
- &:before {
2394
- border-color: $wac-input-active-color !important;
2395
- }
2396
- }
2397
- &:before,
2398
- &:after {
2399
- outline: 0 !important;
2400
- }
2401
- }
2402
- &:hover {
2403
- & + label {
2404
- color: $wac-input-radio-color-active-label;
2405
- &:before {
2406
- border-color: $wac-input-active-color !important;
2407
- }
2408
- &:after {
2409
- border-color: $wac-white !important;
2410
- }
2411
- }
2412
- &:not([disabled]) {
2413
- & + label {
2414
- &:before {
2415
- border-color: $wac-input-active-color !important;
2416
- }
2417
- }
2418
- }
2419
- }
2420
- &:checked + label {
2421
- color: $wac-input-radio-color-active-label;
2422
- &:before {
2423
- border: 1px solid $wac-input-active-color;
2424
- background-color: $wac-input-active-color;
2425
- transition: all 0.3s ease-in-out;
2426
- }
2427
- &:after {
2428
- left: 7px;
2429
- top: 8px;
2430
- transition: all 0.3s ease-in-out;
2431
- }
2432
- }
2433
- }
2434
-
2435
- }
2436
- .wac-state {
2437
- width: 12px;
2438
- height: 12px;
2439
- position: relative;
2440
-
2441
- &:before,
2442
- &:after {
2350
+ div.select {
2443
2351
  position: absolute;
2444
- content: '';
2445
- border-radius: 45px;
2446
- }
2447
-
2448
- &:before {
2449
- width: 100%;
2450
- height: 100%;
2451
2352
  left: 0;
2452
- top: 0;
2453
- border-width: 1px;
2454
- border-style: solid;
2455
- }
2456
-
2457
- &:after {
2458
- width: 6px;
2459
- height: 6px;
2460
- top: 50%;
2461
- left: 50%;
2462
- transform: translate(-50%, -50%);
2463
- }
2464
-
2465
- &.success {
2466
- &:before {
2467
- border-color: $wac-green-color;
2468
- }
2469
2353
 
2354
+ &:before,
2470
2355
  &:after {
2471
- background-color: $wac-green-color;
2356
+ display: block;
2357
+ position: absolute;
2358
+ height: 10px;
2359
+ width: 10px;
2472
2360
  }
2473
2361
  }
2474
2362
 
2475
- &.warning {
2476
- &:before {
2477
- border-color: $wac-warning-color;
2478
- }
2479
-
2480
- &:after {
2481
- background-color: $wac-warning-color;
2363
+ span.nwb-loader {
2364
+ &.nwb-is-loading {
2365
+ z-index: 2;
2366
+ opacity: 1;
2367
+ position: absolute;
2368
+ top: -7px;
2369
+ left: -7px;
2370
+ width: calc(100% + 16px) !important;
2371
+ height: calc(100% + 14px) !important;
2372
+ min-width: 12px;
2373
+ min-height: 1em;
2374
+ margin: 0;
2375
+ background-size: auto 70%;
2376
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
2377
+ background-repeat: no-repeat;
2378
+ background-position: center center;
2482
2379
  }
2483
2380
  }
2381
+ span {
2382
+ color: inherit;
2383
+ font-weight: 500;
2384
+ &:not(.nwb-loader) {
2385
+ display: inline-block;
2386
+ min-width: 12px;
2387
+ }
2388
+ &.nwb-editing {
2389
+ visibility: hidden;
2390
+ }
2484
2391
 
2485
- &.error {
2486
- &:before {
2487
- border-color: $wac-primary-button;
2392
+ &.nwb-is-loading {
2393
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
2394
+ color: rgba(0, 0, 0, 0.4);
2395
+ opacity: 0.25;
2488
2396
  }
2489
2397
 
2490
- &:after {
2491
- background-color: $wac-primary-button;
2398
+ &.nwbSelect {
2399
+ cursor: pointer;
2492
2400
  }
2493
2401
  }
2494
2402
  }
2495
- .wac-delete {
2496
- width: 40px;
2497
- height: 40px;
2498
2403
 
2499
- &__wrapper {
2500
- @include flexbox();
2501
- @include justify-content(center);
2502
- @include align-items(center);
2503
- width: 100%;
2504
- height: 100%;
2404
+ .wac-edit-in-place.nwb-wrapper--editable::after {
2405
+ position: absolute;
2406
+ content: '';
2407
+ border-bottom: dashed 1px $wac-primary;
2408
+ width: 100%;
2409
+ bottom: 0;
2410
+ left: 0;
2411
+ }
2412
+
2413
+ .wac-edit-in-place.nwbSelect {
2414
+ &__container {
2415
+ display: flex;
2416
+ flex-direction: column;
2417
+ position: absolute;
2418
+ white-space: nowrap;
2419
+ border: solid 1px rgba(0, 0, 0, 0.2);
2420
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2505
2421
  border-radius: 3px;
2506
- background-color: transparent;
2507
- transition: background-color 0.3s ease-in-out;
2422
+ top: calc(100% + 7px);
2508
2423
 
2509
- i {
2510
- color: $wac-border-form;
2511
- font-size: 14px;
2512
- line-height: 23px;
2513
- transition: color 0.3s ease-in-out;
2424
+ &::before {
2425
+ position: absolute;
2426
+ top: -7px;
2427
+ left: 9px;
2428
+ content: '';
2429
+ border-left: 7px solid transparent;
2430
+ border-right: 7px solid transparent;
2431
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
2432
+ border-bottom-color: rgba(0, 0, 0, 0.2);
2433
+ display: inline-block;
2514
2434
  }
2515
2435
 
2516
- &:hover {
2517
- background-color: $wac-primary-button;
2518
- transition: background-color 0.3s ease-in-out;
2436
+ &::after {
2437
+ position: absolute;
2438
+ top: -6px;
2439
+ left: 10px;
2440
+ content: '';
2441
+ border-left: 6px solid transparent;
2442
+ border-right: 6px solid transparent;
2443
+ border-bottom: 6px solid $wac-white;
2444
+ display: inline-block;
2445
+ }
2519
2446
 
2520
- i {
2447
+ &__item {
2448
+ border: none;
2449
+ padding: 8px 10px;
2450
+ background-color: $wac-white;
2451
+ cursor: pointer;
2452
+ transition: all 0.3s ease-in-out;
2453
+ z-index: 3;
2454
+ font-size: rem(12);
2455
+ text-align: left;
2456
+ border-radius: 0;
2457
+
2458
+ &:hover {
2459
+ background-color: darken($wac-white, 10%);
2460
+ color: $wac-main-text;
2461
+ transition: all 0.3s ease-in-out;
2462
+ }
2463
+
2464
+ &--selected,
2465
+ &--selected:hover {
2466
+ background-color: $wac-wizishop-blue;
2521
2467
  color: $wac-white;
2522
- transition: color 0.3s ease-in-out;
2468
+ transition: all 0.3s ease-in-out;
2523
2469
  }
2524
2470
  }
2525
2471
  }
2472
+
2473
+ &__background {
2474
+ position: fixed;
2475
+ top: 0;
2476
+ left: 0;
2477
+ width: 100vw;
2478
+ height: 100vh;
2479
+ z-index: 2;
2480
+ }
2526
2481
  }
2482
+ .wac-tab {
2483
+ &__wrapper {
2484
+ position: relative;
2485
+ @include flexbox();
2486
+ margin-bottom: 30px;
2527
2487
 
2528
- .wac-switch {
2529
- input {
2530
- display: none;
2531
- &:checked + label {
2532
- &:before {
2533
- background-color: $wac-bleu-color;
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;
2534
2497
  }
2535
- &:after {
2536
- transform: translateY(-50%) translateX(24px) rotate(180deg);
2498
+
2499
+ &:not(:last-child) {
2500
+ margin-right: 30px;
2537
2501
  }
2538
- > span {
2539
- .disable {
2540
- display: none;
2541
- }
2542
- .enable {
2543
- display: block;
2544
- }
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;
2545
2512
  }
2546
- }
2547
- &.danger {
2548
- &:checked + label {
2549
- &:before {
2550
- background-color: $wac-red-color;
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;
2551
2520
  }
2552
2521
  }
2553
2522
  }
2554
2523
  }
2555
- &__label {
2556
- display: block;
2557
- padding: 0 0 0 56px;
2558
- position: relative;
2559
- min-height: 22px;
2560
- min-width: 56px;
2561
- cursor: pointer;
2562
- &:before {
2563
- content: '';
2564
- display: block;
2565
- width: rem(46);
2566
- height: rem(22);
2567
- border-radius: 12px;
2568
- background-color: $wac-border-form;
2524
+
2525
+ &--underline {
2526
+ .wac-tab__wrapper:before {
2569
2527
  position: absolute;
2570
- top: 0;
2528
+ width: 100%;
2529
+ height: 1px;
2530
+ bottom: -5px;
2571
2531
  left: 0;
2572
- transition: background-color 0.3s ease;
2573
- }
2574
- &:after {
2575
2532
  content: '';
2576
- display: block;
2577
- width: rem(16);
2578
- height: rem(16);
2579
- background-color: $wac-white;
2580
- border-radius: 50%;
2581
- position: absolute;
2582
- left: 3px;
2583
- top: 50%;
2584
- transform: translateY(-50%) translateX(0) rotate(0deg);
2585
- transition: transform 0.3s ease;
2533
+ background-color: $wac-border-form;
2586
2534
  }
2587
- &__text {
2535
+ }
2536
+
2537
+ &--button {
2538
+ .wac-tab__wrapper__tab {
2539
+ background-color: $wac-button-tab-background;
2540
+ padding: 12px 20px;
2588
2541
  font-size: rem(14);
2589
- line-height: rem(22);
2590
- font-weight: 400;
2591
- color: $wac-main-text;
2592
- &:empty {
2593
- display: none;
2594
- }
2595
- .disable {
2596
- display: block;
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;
2597
2551
  }
2598
- .enable {
2552
+ &:after {
2599
2553
  display: none;
2600
2554
  }
2601
- span {
2602
- display: flex;
2603
- align-items: center;
2604
- white-space: nowrap;
2605
- strong {
2606
- margin: 0 0 0 5px;
2607
- font-weight: 600;
2608
- }
2609
- }
2610
2555
  }
2611
2556
  }
2612
2557
  }
2613
-
2614
- .wac-show-input {
2558
+ .wac-free-popin {
2559
+ height: 100%;
2615
2560
  width: 100%;
2616
- margin: 15px 0 0 0;
2617
- input {
2618
- width: 100%;
2619
- height: 40px;
2620
- line-height: 40px;
2621
- padding: 0 20px;
2622
- color: $wac-main-text;
2561
+ width: 100vw;
2562
+ height: 100vh;
2563
+ position: fixed;
2564
+ top: 0;
2565
+ left: 0;
2566
+
2567
+ &__wrapper {
2568
+ background-color: white;
2569
+ border: 1px solid $wac-border-color;
2623
2570
  border-radius: 3px;
2624
- border: 1px solid $wac-border-form;
2625
- &::-webkit-input-placeholder {
2626
- /* Chrome/Opera/Safari */
2627
- color: $wac-color-icon-search-multiple-search;
2628
- opacity: 1;
2629
- font-weight: 400;
2630
- @include media('<tablet') {
2631
- font-size: rem(11);
2632
- }
2633
- }
2634
- &::-moz-placeholder {
2635
- /* Firefox 19+ */
2636
- color: $wac-color-icon-search-multiple-search;
2637
- opacity: 1;
2638
- font-weight: 400;
2639
- @include media('<tablet') {
2640
- font-size: rem(11);
2571
+ margin: auto;
2572
+ box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
2573
+ position: absolute;
2574
+ left: 50%;
2575
+ top: 50%;
2576
+ transform: translate(-50%, -50%);
2577
+ padding: 50px;
2578
+ z-index: 3;
2579
+ max-height: 90vh;
2580
+ display: flex;
2581
+ flex-wrap: nowrap;
2582
+ flex-direction: column;
2583
+ justify-content: center;
2584
+ align-items: center;
2585
+ width: 100%;
2586
+ max-width: 575px;
2587
+ overflow: hidden;
2588
+
2589
+ &__content {
2590
+ position: relative;
2591
+ overflow: hidden;
2592
+ display: flex;
2593
+ > * {
2594
+ height: auto;
2641
2595
  }
2642
2596
  }
2643
- &:-ms-input-placeholder {
2644
- /* IE 10+ */
2645
- color: $wac-color-icon-search-multiple-search;
2646
- opacity: 1;
2647
- font-weight: 400;
2648
- @include media('<tablet') {
2649
- font-size: rem(11);
2650
- }
2597
+
2598
+ div:not([class]) {
2599
+ width: 100%;
2600
+ margin: 0 0 17px;
2651
2601
  }
2652
- &:-moz-placeholder {
2653
- /* Firefox 18- */
2654
- color: $wac-color-icon-search-multiple-search;
2655
- opacity: 1;
2656
- font-weight: 400;
2657
- @include media('<tablet') {
2658
- font-size: rem(11);
2659
- }
2602
+
2603
+ > * {
2604
+ width: 100%;
2660
2605
  }
2661
- &:focus {
2662
- &::-webkit-input-placeholder {
2663
- /* Chrome/Opera/Safari */
2664
- color: $wac-white;
2665
- opacity: 1;
2666
- }
2667
- &::-moz-placeholder {
2668
- /* Firefox 19+ */
2669
- color: $wac-white;
2670
- opacity: 1;
2671
- }
2672
- &:-ms-input-placeholder {
2673
- /* IE 10+ */
2674
- color: $wac-white;
2675
- opacity: 1;
2606
+
2607
+ &__button-close {
2608
+ position: absolute;
2609
+ top: 10px;
2610
+ right: 10px;
2611
+ width: 30px;
2612
+ height: 30px;
2613
+ border-radius: 50%;
2614
+ display: flex;
2615
+ justify-content: center;
2616
+ align-items: center;
2617
+ background-color: $wac-popin-btn-close;
2618
+ transition: .3s ease;
2619
+ i {
2620
+ color: $wac-second-color;
2621
+ font-size: 14px;
2622
+ font-weight: 400;
2676
2623
  }
2677
- &:-moz-placeholder {
2678
- /* Firefox 18- */
2679
- color: $wac-white;
2680
- opacity: 1;
2624
+ &:hover, &:focus {
2625
+ background-color: $wac-main-text;
2626
+ i {
2627
+ color: $wac-white;
2628
+ }
2681
2629
  }
2682
2630
  }
2683
- }
2684
- }
2685
- .wac-edit-in-place.nwb-wrapper {
2686
- display: inline-block;
2687
- position: relative;
2688
- width: auto;
2689
- min-width: 12px;
2690
- min-height: 1.4em;
2691
2631
 
2692
- input {
2693
- font-size: inherit;
2694
- transition: width 50ms;
2695
- position: absolute;
2696
- top: 0;
2697
- left: -5px;
2698
- width: calc(100% + 16px) !important;
2699
- height: calc(100% + 14px) !important;
2700
- padding: 5px;
2701
- z-index: 1;
2702
- margin: 0;
2703
- outline: none !important;
2704
- border: 1px solid $wac-edit-in-place-border;
2705
- background: inherit;
2706
- transform: translateY(-17%);
2707
- background-color: $wac-edit-in-place-background;
2708
-
2709
- &.nwb-editable {
2710
- text-decoration: none;
2711
- color: inherit;
2712
- border: none;
2713
- cursor: pointer;
2714
- height: 26px;
2715
- }
2716
-
2717
- &.nwb-editing {
2718
- color: $wac-edit-in-place-border;
2719
- }
2720
- }
2721
-
2722
- div.select {
2723
- position: absolute;
2724
- left: 0;
2725
-
2726
- &:before,
2727
- &:after {
2728
- display: block;
2729
- position: absolute;
2730
- height: 10px;
2731
- width: 10px;
2732
- }
2733
- }
2734
-
2735
- span.nwb-loader {
2736
- &.nwb-is-loading {
2737
- z-index: 2;
2738
- opacity: 1;
2739
- position: absolute;
2740
- top: -7px;
2741
- left: -7px;
2742
- width: calc(100% + 16px) !important;
2743
- height: calc(100% + 14px) !important;
2744
- min-width: 12px;
2745
- min-height: 1em;
2746
- margin: 0;
2747
- background-size: auto 70%;
2748
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
2749
- background-repeat: no-repeat;
2750
- background-position: center center;
2751
- }
2752
- }
2753
- span {
2754
- color: inherit;
2755
- font-weight: 500;
2756
- &:not(.nwb-loader) {
2757
- display: inline-block;
2758
- min-width: 12px;
2759
- }
2760
- &.nwb-editing {
2761
- visibility: hidden;
2632
+ h1 {
2633
+ font-size: rem(30);
2634
+ line-height: rem(35);
2635
+ font-weight: 600;
2636
+ color: $wac-main-text;
2762
2637
  }
2763
2638
 
2764
- &.nwb-is-loading {
2765
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
2766
- color: rgba(0, 0, 0, 0.4);
2767
- opacity: 0.25;
2639
+ h2 {
2640
+ font-size: rem(18);
2641
+ line-height: rem(21);
2642
+ font-weight: 500;
2643
+ color: $wac-main-text;
2768
2644
  }
2769
2645
 
2770
- &.nwbSelect {
2771
- cursor: pointer;
2646
+ h3 {
2647
+ font-size: rem(16);
2648
+ line-height: rem(19);
2649
+ font-weight: 500;
2650
+ color: $wac-main-text;
2772
2651
  }
2773
- }
2774
- }
2775
-
2776
- .wac-edit-in-place.nwb-wrapper--editable::after {
2777
- position: absolute;
2778
- content: '';
2779
- border-bottom: dashed 1px $wac-primary;
2780
- width: 100%;
2781
- bottom: 0;
2782
- left: 0;
2783
- }
2784
-
2785
- .wac-edit-in-place.nwbSelect {
2786
- &__container {
2787
- display: flex;
2788
- flex-direction: column;
2789
- position: absolute;
2790
- white-space: nowrap;
2791
- border: solid 1px rgba(0, 0, 0, 0.2);
2792
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2793
- border-radius: 3px;
2794
- top: calc(100% + 7px);
2795
2652
 
2796
- &::before {
2797
- position: absolute;
2798
- top: -7px;
2799
- left: 9px;
2800
- content: '';
2801
- border-left: 7px solid transparent;
2802
- border-right: 7px solid transparent;
2803
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
2804
- border-bottom-color: rgba(0, 0, 0, 0.2);
2805
- display: inline-block;
2653
+ h4 {
2654
+ font-size: rem(14);
2655
+ line-height: rem(16);
2656
+ font-weight: 500;
2657
+ color: $wac-main-text;
2806
2658
  }
2807
2659
 
2808
- &::after {
2809
- position: absolute;
2810
- top: -6px;
2811
- left: 10px;
2812
- content: '';
2813
- border-left: 6px solid transparent;
2814
- border-right: 6px solid transparent;
2815
- border-bottom: 6px solid $wac-white;
2816
- display: inline-block;
2660
+ img {
2661
+ width: auto;
2662
+ height: auto;
2663
+ margin: 0 auto;
2817
2664
  }
2818
2665
 
2819
- &__item {
2820
- border: none;
2821
- padding: 8px 10px;
2822
- background-color: $wac-white;
2823
- cursor: pointer;
2824
- transition: all 0.3s ease-in-out;
2825
- z-index: 3;
2826
- font-size: rem(12);
2827
- text-align: left;
2828
- border-radius: 0;
2829
-
2830
- &:hover {
2831
- background-color: darken($wac-white, 10%);
2666
+ &__title {
2667
+ font: normal normal bold 20px/25px sans-serif;
2832
2668
  color: $wac-main-text;
2833
- transition: all 0.3s ease-in-out;
2834
- }
2669
+ }
2835
2670
 
2836
- &--selected,
2837
- &--selected:hover {
2838
- background-color: $wac-wizishop-blue;
2839
- color: $wac-white;
2840
- transition: all 0.3s ease-in-out;
2841
- }
2671
+ &__buttons {
2672
+ width: 100%;
2673
+ display: flex;
2674
+ flex-direction: column;
2675
+ align-items: center;
2676
+ margin: 30px 0 0;
2677
+ &__button {
2678
+ margin: 10px;
2679
+ width: auto;
2680
+ }
2842
2681
  }
2843
2682
  }
2844
-
2845
2683
  &__background {
2846
- position: fixed;
2684
+ z-index: 1;
2685
+ position: absolute;
2847
2686
  top: 0;
2848
2687
  left: 0;
2849
- width: 100vw;
2850
- height: 100vh;
2851
- z-index: 2;
2688
+ width: 100%;
2689
+ height: 100%;
2690
+ background-color: transparentize($wac-main-text, .5);
2852
2691
  }
2853
2692
  }
2854
- .wac-tab {
2855
- &__wrapper {
2856
- position: relative;
2693
+
2694
+ .wac-free-popin .ps-content > * {
2695
+ padding-right: 15px;
2696
+ }
2697
+ .wac-table {
2698
+ width: 100%;
2699
+
2700
+ &__head {
2857
2701
  @include flexbox();
2858
- margin-bottom: 30px;
2702
+ @include flex-flow(row nowrap);
2703
+ width: 100%;
2704
+ border-top: 1px solid $wac-border-form;
2705
+ border-bottom: 1px solid $wac-border-form;
2706
+ background-color: $wac-gray-background;
2859
2707
 
2860
- &__tab {
2861
- position: relative;
2708
+ &__cell {
2709
+ @include flexbox();
2710
+ @include flex(1);
2711
+ padding: 15px 20px;
2862
2712
  font-size: 14px;
2863
- line-height: 25px;
2864
- color: $wac-secondary-color;
2713
+ line-height: 20px;
2714
+ color: $wac-main-text;
2715
+ font-weight: 600;
2865
2716
 
2866
- &:hover {
2867
- color: $wac-main-text;
2868
- transition: color 0.3s ease-in-out;
2717
+ &--checkbox {
2718
+ @include flex(none);
2719
+ @include align-items(center);
2720
+ @include justify-content(center);
2869
2721
  }
2870
2722
 
2871
- &:not(:last-child) {
2872
- margin-right: 30px;
2873
- }
2723
+ &__search {
2724
+ color: $wac-main-text;
2725
+ padding-right: 23px;
2726
+ transition: background-image 0.3s ease-in-out;
2727
+ cursor: text;
2874
2728
 
2875
- &:after {
2876
- position: absolute;
2877
- width: 0;
2878
- height: 2px;
2879
- bottom: -5px;
2880
- left: 0;
2881
- content: '';
2882
- background-color: $wac-input-active-color;
2883
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2884
- }
2729
+ &:hover {
2730
+ color: $wac-main-text;
2731
+ }
2885
2732
 
2886
- &--selected {
2887
- color: $wac-main-text;
2733
+ &--idle {
2734
+ background: transparent
2735
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
2736
+ center right / 14px 14px no-repeat;
2737
+ transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
2738
+ cursor: pointer;
2888
2739
 
2889
- &:after {
2890
- width: 100%;
2891
- transition: width 0.3s ease-in-out, color 0.3s ease-in-out;
2892
- }
2893
- }
2894
- }
2895
- }
2896
-
2897
- &--underline {
2898
- .wac-tab__wrapper:before {
2899
- position: absolute;
2900
- width: 100%;
2901
- height: 1px;
2902
- bottom: -5px;
2903
- left: 0;
2904
- content: '';
2905
- background-color: $wac-border-form;
2906
- }
2907
- }
2908
-
2909
- &--button {
2910
- .wac-tab__wrapper__tab {
2911
- background-color: $wac-button-tab-background;
2912
- padding: 12px 20px;
2913
- font-size: rem(14);
2914
- line-height: rem(16);
2915
- white-space: nowrap;
2916
- color: $second-color;
2917
- margin: 0 rem(2) 0 0;
2918
- border-radius: 3px;
2919
- transition: .3s ease;
2920
- &--selected, &:hover, &:focus {
2921
- background-color: $wac-wizishop-blue;
2922
- color: $white;
2923
- }
2924
- &:after {
2925
- display: none;
2926
- }
2927
- }
2928
- }
2929
- }
2930
- .wac-free-popin {
2931
- height: 100%;
2932
- width: 100%;
2933
- width: 100vw;
2934
- height: 100vh;
2935
- position: fixed;
2936
- top: 0;
2937
- left: 0;
2938
-
2939
- &__wrapper {
2940
- background-color: white;
2941
- border: 1px solid $wac-border-color;
2942
- border-radius: 3px;
2943
- margin: auto;
2944
- box-shadow: 0px 10px 40px $wac-free-popin-boxshadow;
2945
- position: absolute;
2946
- left: 50%;
2947
- top: 50%;
2948
- transform: translate(-50%, -50%);
2949
- padding: 50px;
2950
- z-index: 3;
2951
- max-height: 90vh;
2952
- display: flex;
2953
- flex-wrap: nowrap;
2954
- flex-direction: column;
2955
- justify-content: center;
2956
- align-items: center;
2957
- width: 100%;
2958
- max-width: 575px;
2959
- overflow: hidden;
2960
-
2961
- &__content {
2962
- position: relative;
2963
- overflow: hidden;
2964
- display: flex;
2965
- > * {
2966
- height: auto;
2967
- }
2968
- }
2969
-
2970
- div:not([class]) {
2971
- width: 100%;
2972
- margin: 0 0 17px;
2973
- }
2974
-
2975
- > * {
2976
- width: 100%;
2977
- }
2978
-
2979
- &__button-close {
2980
- position: absolute;
2981
- top: 10px;
2982
- right: 10px;
2983
- width: 30px;
2984
- height: 30px;
2985
- border-radius: 50%;
2986
- display: flex;
2987
- justify-content: center;
2988
- align-items: center;
2989
- background-color: $wac-popin-btn-close;
2990
- transition: .3s ease;
2991
- i {
2992
- color: $wac-second-color;
2993
- font-size: 14px;
2994
- font-weight: 400;
2995
- }
2996
- &:hover, &:focus {
2997
- background-color: $wac-main-text;
2998
- i {
2999
- color: $wac-white;
3000
- }
3001
- }
3002
- }
3003
-
3004
- h1 {
3005
- font-size: rem(30);
3006
- line-height: rem(35);
3007
- font-weight: 600;
3008
- color: $wac-main-text;
3009
- }
3010
-
3011
- h2 {
3012
- font-size: rem(18);
3013
- line-height: rem(21);
3014
- font-weight: 500;
3015
- color: $wac-main-text;
3016
- }
3017
-
3018
- h3 {
3019
- font-size: rem(16);
3020
- line-height: rem(19);
3021
- font-weight: 500;
3022
- color: $wac-main-text;
3023
- }
3024
-
3025
- h4 {
3026
- font-size: rem(14);
3027
- line-height: rem(16);
3028
- font-weight: 500;
3029
- color: $wac-main-text;
3030
- }
3031
-
3032
- img {
3033
- width: auto;
3034
- height: auto;
3035
- margin: 0 auto;
3036
- }
3037
-
3038
- &__title {
3039
- font: normal normal bold 20px/25px sans-serif;
3040
- color: $wac-main-text;
3041
- }
3042
-
3043
- &__buttons {
3044
- width: 100%;
3045
- display: flex;
3046
- flex-direction: column;
3047
- align-items: center;
3048
- margin: 30px 0 0;
3049
- &__button {
3050
- margin: 10px;
3051
- width: auto;
3052
- }
3053
- }
3054
- }
3055
- &__background {
3056
- z-index: 1;
3057
- position: absolute;
3058
- top: 0;
3059
- left: 0;
3060
- width: 100%;
3061
- height: 100%;
3062
- background-color: transparentize($wac-main-text, .5);
3063
- }
3064
- }
3065
-
3066
- .wac-free-popin .ps-content > * {
3067
- padding-right: 15px;
3068
- }
3069
- .wac-table {
3070
- width: 100%;
3071
-
3072
- &__head {
3073
- @include flexbox();
3074
- @include flex-flow(row nowrap);
3075
- width: 100%;
3076
- border-top: 1px solid $wac-border-form;
3077
- border-bottom: 1px solid $wac-border-form;
3078
- background-color: $wac-gray-background;
3079
-
3080
- &__cell {
3081
- @include flexbox();
3082
- @include flex(1);
3083
- padding: 15px 20px;
3084
- font-size: 14px;
3085
- line-height: 20px;
3086
- color: $wac-main-text;
3087
- font-weight: 600;
3088
-
3089
- &--checkbox {
3090
- @include flex(none);
3091
- @include align-items(center);
3092
- @include justify-content(center);
3093
- }
3094
-
3095
- &__search {
3096
- color: $wac-main-text;
3097
- padding-right: 23px;
3098
- transition: background-image 0.3s ease-in-out;
3099
- cursor: text;
3100
-
3101
- &:hover {
3102
- color: $wac-main-text;
3103
- }
3104
-
3105
- &--idle {
3106
- background: transparent
3107
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='sort' viewBox='0 0 320 512' class='svg-inline--fa fa-sort fa-w-10 fa-7x'%3E%3Cpath fill='currentColor' d='M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z'/%3E%3C/svg%3E")
3108
- center right / 14px 14px no-repeat;
3109
- transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
3110
- cursor: pointer;
3111
-
3112
- &:hover {
3113
- transition: color 0.3s ease-in-out;
3114
- }
2740
+ &:hover {
2741
+ transition: color 0.3s ease-in-out;
2742
+ }
3115
2743
  }
3116
2744
 
3117
2745
  &--up {
@@ -3617,12 +3245,30 @@ $wac-subtitle-color: #7A87A1!default;
3617
3245
  &__item {
3618
3246
  width: 100%;
3619
3247
  margin: 0 0 10px;
3248
+ position: relative;
3249
+ overflow: hidden;
3250
+ .hover {
3251
+ position: absolute;
3252
+ top: 100%;
3253
+ transform: translateY(50px);
3254
+ margin-bottom: 50px;
3255
+ transition: .3s ease;
3256
+ left: 0;
3257
+ width: 100%;
3258
+ display: flex;
3259
+ justify-content: center;
3260
+ }
3620
3261
  img {
3621
3262
  display: block;
3622
3263
  width: 100%;
3623
3264
  height: auto;
3624
3265
  margin: 0;
3625
3266
  }
3267
+ &:hover, &:focus {
3268
+ .hover {
3269
+ transform: translateY(calc(-100% + -10px));
3270
+ }
3271
+ }
3626
3272
  }
3627
3273
  }
3628
3274
  }
@@ -4230,550 +3876,922 @@ span.wac-tooltip {
4230
3876
  }
4231
3877
  }
4232
3878
  }
4233
- .wac-calendar {
3879
+ .wac-button {
3880
+ @include flexbox();
3881
+ @include justify-content(center);
3882
+ @include align-items(center);
4234
3883
  position: relative;
4235
- margin: 0 0 20px;
4236
- width: 268px;
4237
- &--open {
4238
- z-index: 9;
4239
- .wac-calendar {
4240
- &__absolute {
4241
- visibility: visible;
4242
- opacity: 1;
4243
- transition: 0.3s ease opacity 0.1s, 0s visibility linear 0s;
4244
- }
4245
- }
3884
+ display: block;
3885
+ padding: 7px 19px;
3886
+ border-style: solid;
3887
+ border-width: 1px;
3888
+ border-radius: 3px;
3889
+ box-sizing: border-box;
3890
+
3891
+ * {
3892
+ box-sizing: border-box;
4246
3893
  }
4247
- &--edit {
4248
- display: flex;
4249
- justify-content: flex-start;
4250
- align-items: center;
4251
- align-content: center;
4252
- & > * {
4253
- display: inline-block;
4254
- &:nth-child(2) {
4255
- margin: 0 10px;
3894
+
3895
+ &.width-auto {
3896
+ display: inline-block;
3897
+ width: auto;
3898
+ margin: 0 auto;
3899
+ }
3900
+
3901
+ &.white-space-no-wrap {
3902
+ white-space: nowrap;
3903
+ }
3904
+
3905
+ &.is-green.opacity {
3906
+ background-color: $wac-tag-success-light;
3907
+ border-color: $wac-tag-success-light;
3908
+ transition: .3s;
3909
+ i {
3910
+ color: $wac-tag-success;
3911
+ }
3912
+ &:hover, &:focus {
3913
+ background-color: $wac-tag-success;
3914
+ i {
3915
+ color: $wac-white;
4256
3916
  }
4257
3917
  }
4258
3918
  }
4259
- &--no-margin {
4260
- margin: 0;
4261
- .wac-calendar__autoHide {
4262
- margin: 0;
3919
+
3920
+ &.static-width {
3921
+ width: 40px;
3922
+ min-width: 40px;
3923
+ max-width: 40px;
3924
+ }
3925
+
3926
+ &.is-blue.opacity {
3927
+ background-color: $wac-wizishop-blue-button-light;
3928
+ border-color: $wac-wizishop-blue-button-light;
3929
+ transition: .3s;
3930
+ i {
3931
+ color: $wac-wizishop-blue-button;
3932
+ }
3933
+ &:hover, &:focus {
3934
+ background-color: $wac-wizishop-blue-button;
3935
+ i {
3936
+ color: $wac-white;
3937
+ }
4263
3938
  }
4264
3939
  }
4265
- &__label {
4266
- font-size: rem(14) !important;
4267
- line-height: rem(16) !important;
4268
- margin: 0 0 10px !important;
4269
- color: $wac-color-text-grey !important;
3940
+
3941
+ &.animationText {
3942
+ width: rem(40);
3943
+ height: rem(40);
3944
+ padding: 0!important;
3945
+ border-radius: 3px;
3946
+ transition: 0s linear .3s!important;
3947
+ display: flex;
3948
+ justify-content: center;
3949
+ align-items: center;
4270
3950
  cursor: pointer;
4271
- }
4272
- &__autoHide {
4273
- max-width: 300px;
3951
+ border: none;
4274
3952
  position: relative;
4275
- }
4276
- &__wrapper {
4277
- &__input {
4278
- border-radius: 3px;
4279
- display: flex;
4280
- justify-content: flex-start;
4281
- align-items: center;
4282
- align-content: center;
4283
- min-width: 240px;
4284
- max-width: 240px;
4285
- padding: 7px 20px;
4286
- border: 1px solid $wac-border-form;
4287
- cursor: pointer;
4288
- &__icon {
4289
- width: 16px;
4290
- margin: 0 10px 0 0;
4291
- display: flex;
4292
- justify-content: space-between;
4293
- align-items: center;
4294
- align-content: center;
4295
- cursor: pointer;
4296
- &:hover,
4297
- &:focus {
4298
- i {
4299
- color: darken($wac-wizishop-blue, 15%);
4300
- }
4301
- }
4302
- i {
4303
- color: $wac-second-color;
4304
- font-size: rem(18);
4305
- transition: color 300ms ease;
4306
- }
4307
- }
4308
- &__date {
4309
- width: auto;
4310
- white-space: nowrap;
4311
- position: relative;
4312
- color: $wac-main-text;
4313
- font-size: rem(14);
4314
- line-height: rem(24);
4315
- margin: 0 15px 0 0;
4316
- letter-spacing: 0.65px;
4317
- &:after {
4318
- content: '';
4319
- display: block;
4320
- position: absolute;
4321
- width: 1px;
4322
- height: 15px;
4323
- background-color: $wac-input-border;
4324
- top: 50%;
4325
- right: -15px;
4326
- transform: translateY(-50%);
4327
- }
3953
+ &:hover, &:focus {
3954
+ transition: 0s!important;
3955
+ border-radius: 3px 0 0 3px;
3956
+ &.animation-right {
3957
+ border-radius: 0 3px 3px 0;
4328
3958
  }
4329
- &__time {
4330
- width: auto;
4331
- white-space: nowrap;
4332
- font-size: rem(14);
4333
- line-height: rem(24);
4334
- color: $wac-main-text;
4335
- margin: 0 15px;
4336
- letter-spacing: 1.3px;
3959
+ .wac-button__animation {
3960
+ transition: .3s ease!important;
4337
3961
  }
4338
- &__close {
4339
- width: 10px;
4340
- cursor: pointer;
4341
- i {
4342
- font-size: 14px;
4343
- transition: color 300ms ease;
4344
- color: $wac-primary-button;
4345
- font-weight: 400;
4346
- }
4347
- &:hover,
4348
- &:focus {
4349
- i {
4350
- color: darken($wac-primary-button, 15%);
4351
- }
4352
- }
3962
+ }
3963
+ }
3964
+
3965
+ &.small {
3966
+ padding: rem(4) rem(15);
3967
+ }
3968
+
3969
+ &__wrapper {
3970
+ position: relative;
3971
+ z-index: 2;
3972
+ color: $wac-white;
3973
+ font-size: 14px;
3974
+ line-height: 16px;
3975
+ font-weight: 500;
3976
+
3977
+ i {
3978
+ margin-right: 1.4px;
3979
+ }
3980
+ }
3981
+
3982
+ &__coin {
3983
+ margin: 0 0 0 rem(15);
3984
+ display: flex;
3985
+ align-items: center;
3986
+ justify-content: center;
3987
+ border-radius: 40px;
3988
+ padding: 4px 6px;
3989
+ background-color: #F8EDD2;
3990
+ float: right;
3991
+ z-index: 2;
3992
+ position: relative;
3993
+ i {
3994
+ font-size: rem(18);
3995
+ color: #FDCD52;
3996
+ margin: 0 5px 0 0;
3997
+ }
3998
+ > span {
3999
+ font-size: rem(14);
4000
+ line-height: 1;
4001
+ color: #E0B146;
4002
+ font-weight: 600;
4003
+ letter-spacing: 0;
4004
+ }
4005
+ }
4006
+
4007
+ &__animation {
4008
+ overflow: hidden;
4009
+ max-width: 0;
4010
+ height: 40px;
4011
+ position: absolute;
4012
+ top: 0;
4013
+ left: 95%;
4014
+ z-index: 2;
4015
+ transition: .3s ease!important;
4016
+ .animation-right & {
4017
+ left: auto;
4018
+ right: 94%;
4019
+ > span {
4020
+ border-radius: 3px 0 0 3px;
4021
+ padding: 0 0 0 20px;
4353
4022
  }
4354
4023
  }
4355
- &__editInPlace {
4356
- display: flex;
4357
- justify-content: space-between;
4358
- padding: 5px 0;
4359
- position: relative;
4360
- align-content: center;
4361
- align-items: center;
4362
- cursor: pointer;
4363
- max-width: 140px;
4364
- &:after {
4365
- position: absolute;
4366
- content: '';
4367
- border-bottom: dashed 1px $wac-calendar-primary;
4368
- width: 100%;
4369
- bottom: 0;
4370
- left: 0;
4024
+ &__text {
4025
+ position: absolute;
4026
+ top: 0;
4027
+ left: 0;
4028
+ width: auto;
4029
+ white-space: nowrap;
4030
+ height: rem(40);
4031
+ line-height: rem(40);
4032
+ color: $wac-white !important;
4033
+ border-radius: 0 3px 3px 0;
4034
+ padding: 0 20px 0 0;
4035
+ font-size: rem(14);
4036
+ .is-success & {
4037
+ background-color: $wac-green-color;
4371
4038
  }
4372
- &__icon {
4373
- width: 12px;
4374
- margin: 0 5px 0 0;
4375
- display: flex;
4376
- justify-content: space-between;
4377
- align-items: center;
4378
- align-content: center;
4379
- i {
4380
- font-size: rem(14);
4381
- color: $wac-wizishop-blue;
4382
- transition: color 300ms ease;
4383
- }
4384
- }
4385
- &__date {
4386
- position: relative;
4387
- color: $wac-header-color;
4388
- font-size: rem(14);
4389
- width: auto;
4390
- transition: 300ms ease;
4391
- white-space: nowrap;
4392
- }
4393
- &:hover,
4394
- &:focus {
4395
- .wac-calendar {
4396
- &__wrapper {
4397
- &__editInPlace {
4398
- &__date {
4399
- color: darken($wac-header-color, 30%);
4400
- }
4401
- &__icon {
4402
- i {
4403
- color: darken($wac-wizishop-blue, 15%);
4404
- }
4405
- }
4406
- }
4407
- }
4408
- }
4409
- }
4410
- }
4411
- &__select {
4412
- border-radius: 3px;
4413
- display: flex;
4414
- justify-content: flex-start;
4415
- align-items: center;
4416
- align-content: center;
4417
- min-width: 220px;
4418
- max-width: 220px;
4419
- padding: 11px 19px;
4420
- border: 1px solid $wac-input-border;
4421
- cursor: pointer;
4422
- background: $wac-white no-repeat center right 15px
4423
- url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%226.032%22%3E%3Cpath%20data-name%3D%22Arrow%20copie%203%22%20d%3D%22M0%20.016L5%204.65l5-4.634v1.378L5%206.028%200%201.394V.02z%22%20fill%3D%22%231e2e43%22%20fill-rule%3D%22evenodd%22/%3E%3C/svg%3E);
4424
- &__icon {
4425
- width: 16px;
4426
- margin: 0 10px 0 0;
4427
- display: flex;
4428
- justify-content: space-between;
4429
- align-items: center;
4430
- align-content: center;
4431
- cursor: pointer;
4432
- &:hover,
4433
- &:focus {
4434
- i {
4435
- color: darken($wac-second-color, 15%);
4436
- }
4437
- }
4438
- i {
4439
- font-size: rem(18);
4440
- font-weight: 400;
4441
- color: $wac-second-color;
4442
- transition: color 300ms ease;
4443
- }
4444
- }
4445
- &__date {
4446
- width: auto;
4447
- position: relative;
4448
- color: $wac-header-color;
4449
- font-size: rem(14);
4450
- white-space: nowrap;
4451
- margin: 0;
4452
- &:after {
4453
- display: none;
4454
- }
4455
- }
4456
- &__close {
4457
- width: 10px;
4458
- cursor: pointer;
4459
- i {
4460
- font-size: 14px;
4461
- transition: color 300ms ease;
4462
- color: $wac-primary-button;
4463
- }
4464
- &:hover,
4465
- &:focus {
4466
- i {
4467
- color: darken($wac-primary-button, 15%);
4468
- }
4469
- }
4039
+ .is-danger & {
4040
+ background-color: $wac-primary-button;
4470
4041
  }
4471
4042
  }
4472
4043
  }
4473
- &__absolute {
4474
- position: absolute;
4475
- top: 100%;
4044
+
4045
+ &.deletePosition-center .wac-button__confirmDelete {
4476
4046
  left: 50%;
4477
- transform: translateX(-50%);
4478
- visibility: hidden;
4479
- opacity: 0;
4480
- transition: 0.3s ease opacity, 0s visibility 0.31s;
4481
- border: 1px solid $wac-border-light;
4482
- background-color: $wac-white;
4483
- box-shadow: 3px 3px 20px $wac-calendar-box-shadow;
4047
+ transform: translateX(-50%) translateY(-1px);
4048
+ }
4049
+
4050
+ &.deletePosition-right .wac-button__confirmDelete {
4051
+ right: 0;
4052
+ transform: translateY(-1px);
4053
+ }
4054
+
4055
+ &.deletePosition-left .wac-button__confirmDelete {
4056
+ left: 0;
4057
+ transform: translateY(-1px);
4058
+ }
4059
+
4060
+ &__confirmDelete {
4061
+ overflow: hidden;
4062
+ max-width: 0;
4063
+ height: 40px;
4064
+ position: absolute;
4065
+ top: 0;
4066
+ z-index: 2;
4067
+ transition: .3s ease!important;
4484
4068
  border-radius: 3px;
4485
- max-width: 268px;
4486
- min-width: 268px;
4487
- &.bottom {
4488
- transform: translateX(-50%) translateY(10px);
4069
+
4070
+
4071
+ .is-success & {
4072
+ background-color: $wac-green-color;
4073
+ &:hover, &:focus {
4074
+ background-color: darken($wac-green-color, 15%);
4075
+ }
4489
4076
  }
4490
- &.top {
4491
- top: auto;
4492
- bottom: 100%;
4493
- transform: translateX(-50%) translateY(-10px);
4077
+ .is-danger & {
4078
+ background-color: $wac-primary-button;
4079
+ &:hover, &:focus {
4080
+ background-color: darken($wac-primary-button, 15%);
4081
+ }
4494
4082
  }
4495
- &.left {
4496
- transform: translateY(-50%) translateX(-10px);
4497
- left: auto;
4498
- right: 100%;
4499
- top: 50%;
4083
+ &__text {
4084
+ position: absolute;
4085
+ top: 0;
4086
+ left: 50%;
4087
+ transform: translateX(-50%);
4088
+ width: auto;
4089
+ white-space: nowrap;
4090
+ height: rem(40);
4091
+ line-height: rem(40);
4092
+ color: $wac-white !important;
4093
+ padding: 0 20px;
4094
+ font-size: rem(14);
4095
+ opacity: 0;
4096
+ transition: .3s ease;
4500
4097
  }
4501
- &.right {
4502
- transform: translateY(-50%) translateX(10px);
4503
- left: 100%;
4504
- top: 50%;
4098
+ }
4099
+
4100
+ &.step-delete {
4101
+ i {
4102
+ transition: .3s ease!important;
4103
+ opacity: 0!important;
4505
4104
  }
4506
- &.left-top {
4507
- left: auto;
4508
- right: 100%;
4509
- top: auto;
4510
- bottom: 0;
4511
- transform: translateY(-10px) translateX(-10px);
4105
+ .wac-button__confirmDelete {
4106
+ transition: .6s ease .3s!important;
4107
+ &__text {
4108
+ opacity: 1;
4109
+ transition: .3s ease .9s;
4110
+ }
4512
4111
  }
4513
- &.left-bottom {
4514
- left: auto;
4515
- right: 100%;
4516
- top: 0;
4517
- transform: translateY(10px) translateX(-10px);
4112
+ }
4113
+
4114
+ &.alone {
4115
+ padding: 7px 14.6px;
4116
+
4117
+ .wac-button__wrapper i {
4118
+ margin-right: 0;
4518
4119
  }
4519
- &.right-top {
4520
- left: 100%;
4521
- top: auto;
4522
- bottom: 0;
4523
- transform: translateY(-10px) translateX(10px);
4120
+ }
4121
+
4122
+ &.is-outlined {
4123
+ &:hover,
4124
+ &.hover {
4125
+ .wac-button__wrapper, .wac-button__animation {
4126
+ color: $wac-white;
4127
+ transition: color 0.3s ease-in-out;
4128
+ }
4524
4129
  }
4525
- &.right-bottom {
4526
- left: 100%;
4527
- top: 0;
4528
- transform: translateY(10px) translateX(10px);
4130
+ }
4131
+
4132
+ &.is-dark {
4133
+ background-color: $wac-main-text;
4134
+ border-color: $wac-main-text;
4135
+ transition: background-color 0.3s ease-in-out;
4136
+
4137
+ .wac-button__loader {
4138
+ background-color: $wac-main-text;
4529
4139
  }
4530
- & > * > * {
4531
- width: 265px;
4140
+
4141
+ &:hover,
4142
+ &.hover {
4143
+ background-color: $wac-main-text-lighten;
4144
+ border-color: $wac-main-text-lighten;
4145
+ transition: background-color 0.3s ease-in-out;
4532
4146
  }
4533
- &__time {
4534
- position: relative;
4535
- background-color: $wac-white;
4536
- padding: 20px;
4537
- width: 100%;
4538
- &:before {
4539
- content: '';
4540
- width: 100%;
4541
- height: 5px;
4542
- bottom: 100%;
4543
- margin-bottom: -2px;
4544
- display: block;
4545
- position: absolute;
4546
- left: 0;
4547
- background-color: $wac-white;
4147
+
4148
+ &:focus,
4149
+ &.focus {
4150
+ background-color: $wac-main-text-lighten;
4151
+ border-color: $wac-main-text-lighten;
4152
+ transition: background-color 0.3s ease-in-out;
4153
+ }
4154
+
4155
+ &.is-outlined {
4156
+ background-color: transparent;
4157
+ border-color: $wac-main-text;
4158
+
4159
+ .wac-button__loader {
4160
+ background-color: $wac-main-text;
4548
4161
  }
4549
- &__wrapper {
4550
- width: 100% !important;
4551
- display: flex;
4552
- align-items: center;
4553
- align-content: center;
4554
- justify-content: center;
4555
- min-height: 42px;
4556
- position: relative;
4557
- &:before {
4558
- content: '';
4559
- display: block;
4560
- background-color: $wac-wizishop-blue;
4561
- width: 4px;
4562
- height: 4px;
4563
- border-radius: 50%;
4564
- position: absolute;
4565
- top: 50%;
4566
- left: 50%;
4567
- transform: translate(-50%, -50%);
4568
- margin-top: -4px;
4162
+
4163
+ .wac-button__wrapper, .wac-button__animation {
4164
+ color: $wac-main-text;
4165
+ transition: color 0.3s ease-in-out;
4166
+ }
4167
+
4168
+ &:hover,
4169
+ &.hover {
4170
+ background-color: $wac-main-text;
4171
+ border-color: $wac-main-text;
4172
+ .wac-button__wrapper, .wac-button__animation {
4173
+ color: $wac-white;
4174
+ transition: color 0.3s ease-in-out;
4569
4175
  }
4570
- &:after {
4571
- content: '';
4572
- display: block;
4573
- background-color: $wac-wizishop-blue;
4574
- width: 4px;
4575
- height: 4px;
4576
- border-radius: 50%;
4577
- position: absolute;
4578
- top: 50%;
4579
- left: 50%;
4580
- transform: translate(-50%, -50%);
4581
- margin-top: 4px;
4176
+ }
4177
+
4178
+ &:focus,
4179
+ &.focus {
4180
+ background-color: $wac-main-text;
4181
+ border-color: $wac-main-text;
4182
+ transition: background-color 0.3s ease-in-out;
4183
+ .wac-button__wrapper, .wac-button__animation {
4184
+ color: $wac-white;
4185
+ transition: color 0.3s ease-in-out;
4582
4186
  }
4583
- &__hours,
4584
- &__minutes {
4585
- position: relative;
4586
- width: 100px;
4587
- display: flex;
4588
- flex-wrap: nowrap;
4589
- &__left,
4590
- &__right {
4591
- width: 100%;
4592
- display: flex;
4593
- flex-wrap: nowrap;
4594
- justify-content: center;
4595
- flex-direction: column;
4596
- align-items: center;
4597
- align-content: center;
4598
- }
4599
- &__btn {
4600
- display: flex;
4601
- justify-content: center;
4602
- flex-direction: column;
4603
- align-items: center;
4604
- align-content: center;
4605
- width: 40px;
4606
- height: 20px;
4607
- background-color: $wac-gray-background;
4608
- box-shadow: none;
4609
- border: none;
4610
- cursor: pointer;
4611
- transition: 0.3s ease;
4612
- &:hover,
4613
- &:focus {
4614
- background-color: $wac-wizishop-blue;
4615
- i {
4616
- color: $wac-white;
4617
- }
4618
- }
4619
- &:first-child {
4620
- margin: 0 0 2px;
4621
- }
4622
- i {
4623
- font-size: rem(10);
4624
- color: $wac-second-color;
4625
- margin: 0;
4626
- }
4627
- }
4187
+ }
4188
+ }
4189
+ }
4628
4190
 
4629
- input::-webkit-outer-spin-button,
4630
- input::-webkit-inner-spin-button {
4631
- -webkit-appearance: none;
4632
- margin: 0;
4633
- }
4191
+ &.is-info {
4192
+ background-color: $wac-wizishop-blue-button;
4193
+ border-color: $wac-wizishop-blue-button;
4194
+ transition: background-color 0.3s ease-in-out;
4634
4195
 
4635
- /* Firefox */
4636
- input[type='number'] {
4637
- -moz-appearance: textfield;
4638
- }
4196
+ .wac-button__loader {
4197
+ background-color: $wac-wizishop-blue-button-darken;
4198
+ }
4199
+
4200
+ &:hover,
4201
+ &.hover {
4202
+ background-color: $wac-wizishop-blue-button-darken;
4203
+ border-color: $wac-wizishop-blue-button-darken;
4204
+ transition: background-color 0.3s ease-in-out;
4205
+ }
4206
+
4207
+ &:focus,
4208
+ &.focus {
4209
+ background-color: $wac-wizishop-blue-button-focus;
4210
+ border-color: $wac-wizishop-blue-button-focus;
4211
+ transition: background-color 0.3s ease-in-out;
4212
+ }
4213
+
4214
+ &.is-outlined {
4215
+ background-color: transparent;
4216
+ border-color: $wac-wizishop-blue-button;
4217
+
4218
+ .wac-button__loader {
4219
+ background-color: $wac-wizishop-blue-button-darken;
4220
+ }
4221
+
4222
+ .wac-button__wrapper, .wac-button__animation {
4223
+ color: $wac-wizishop-blue-button;
4224
+ transition: color 0.3s ease-in-out;
4225
+ }
4226
+
4227
+ &:hover,
4228
+ &.hover {
4229
+ background-color: $wac-wizishop-blue-button;
4230
+ border-color: $wac-wizishop-blue-button;
4231
+ }
4232
+
4233
+ &:focus,
4234
+ &.focus {
4235
+ background-color: $wac-wizishop-blue-button-focus;
4236
+ border-color: $wac-wizishop-blue-button-focus;
4237
+ transition: background-color 0.3s ease-in-out;
4238
+ }
4239
+ }
4240
+
4241
+ &.is-loading {
4242
+ &:hover,
4243
+ &.hover {
4244
+ background-color: $wac-wizishop-blue-button;
4245
+ transition: background-color 0.3s ease-in-out;
4246
+ }
4247
+ &:focus,
4248
+ &.focus {
4249
+ background-color: $wac-wizishop-blue-button-focus;
4250
+ border-color: $wac-wizishop-blue-button-focus;
4251
+ transition: background-color 0.3s ease-in-out;
4252
+ }
4253
+ }
4254
+
4255
+ &.disabled {
4256
+ background-color: $wac-wizishop-blue-button-disabled;
4257
+ border-color: $wac-wizishop-blue-button-disabled;
4258
+ transition: 0s;
4259
+ cursor: default;
4260
+ .wac-button__wrapper, .wac-button__animation {
4261
+ color: $wac-white;
4262
+ }
4263
+ &:hover,
4264
+ &:focus,
4265
+ &.hover,
4266
+ &.focus {
4267
+ background-color: $wac-wizishop-blue-button-disabled;
4268
+ border-color: $wac-wizishop-blue-button-disabled;
4269
+ }
4270
+ }
4271
+ }
4272
+
4273
+ &.is-orange {
4274
+ background-color: $wac-orange-color;
4275
+ border-color: $wac-orange-color;
4276
+ transition: background-color 0.3s ease-in-out;
4277
+
4278
+ .wac-button__loader {
4279
+ background-color: $wac-orange-color-darken;
4280
+ }
4281
+
4282
+ &:hover,
4283
+ &.hover {
4284
+ background-color: $wac-orange-color-darken;
4285
+ border-color: $wac-orange-color-darken;
4286
+ transition: background-color 0.3s ease-in-out;
4287
+ }
4288
+
4289
+ &:focus,
4290
+ &.focus {
4291
+ background-color: $wac-orange-color-focus;
4292
+ border-color: $wac-orange-color-focus;
4293
+ transition: background-color 0.3s ease-in-out;
4294
+ }
4295
+
4296
+ &.is-outlined {
4297
+ background-color: transparent;
4298
+ border-color: $wac-orange-color;
4299
+
4300
+ .wac-button__loader {
4301
+ background-color: $wac-orange-color-darken;
4302
+ }
4303
+
4304
+ .wac-button__wrapper, .wac-button__animation {
4305
+ color: $wac-orange-color;
4306
+ transition: color 0.3s ease-in-out;
4307
+ }
4308
+
4309
+ &:hover,
4310
+ &.hover {
4311
+ background-color: $wac-orange-color;
4312
+ border-color: $wac-orange-color;
4313
+ }
4314
+
4315
+ &:focus,
4316
+ &.focus {
4317
+ background-color: $wac-orange-color-focus;
4318
+ border-color: $wac-orange-color-focus;
4319
+ transition: background-color 0.3s ease-in-out;
4320
+ }
4321
+ }
4322
+
4323
+ &.is-loading {
4324
+ &:hover,
4325
+ &.hover {
4326
+ background-color: $wac-orange-color;
4327
+ transition: background-color 0.3s ease-in-out;
4328
+ }
4329
+ &:focus,
4330
+ &.focus {
4331
+ background-color: $wac-orange-color-focus;
4332
+ border-color: $wac-orange-color-focus;
4333
+ transition: background-color 0.3s ease-in-out;
4334
+ }
4335
+ }
4336
+
4337
+ &.disabled {
4338
+ background-color: $wac-orange-color-disabled;
4339
+ border-color: $wac-orange-color-disabled;
4340
+ transition: 0s;
4341
+ cursor: default;
4342
+ .wac-button__wrapper, .wac-button__animation {
4343
+ color: $wac-white;
4344
+ }
4345
+ &:hover,
4346
+ &:focus,
4347
+ &.hover,
4348
+ &.focus {
4349
+ background-color: $wac-orange-color-disabled;
4350
+ border-color: $wac-orange-color-disabled;
4351
+ }
4352
+ }
4353
+ }
4354
+
4355
+ &.is-pink {
4356
+ background-color: $wac-pink-color;
4357
+ border-color: $wac-pink-color;
4358
+ transition: background-color 0.3s ease-in-out;
4359
+
4360
+ .wac-button__loader {
4361
+ background-color: $wac-pink-color-darken;
4362
+ }
4363
+
4364
+ &:hover,
4365
+ &.hover {
4366
+ background-color: $wac-pink-color-darken;
4367
+ border-color: $wac-pink-color-darken;
4368
+ transition: background-color 0.3s ease-in-out;
4369
+ }
4370
+
4371
+ &:focus,
4372
+ &.focus {
4373
+ background-color: $wac-pink-color-focus;
4374
+ border-color: $wac-pink-color-focus;
4375
+ transition: background-color 0.3s ease-in-out;
4376
+ }
4377
+
4378
+ &.is-outlined {
4379
+ background-color: transparent;
4380
+ border-color: $wac-pink-color;
4381
+
4382
+ .wac-button__loader {
4383
+ background-color: $wac-pink-color-darken;
4384
+ }
4385
+
4386
+ .wac-button__wrapper, .wac-button__animation {
4387
+ color: $wac-pink-color;
4388
+ transition: color 0.3s ease-in-out;
4389
+ }
4390
+
4391
+ &:hover,
4392
+ &.hover {
4393
+ background-color: $wac-pink-color;
4394
+ border-color: $wac-pink-color;
4395
+ }
4396
+
4397
+ &:focus,
4398
+ &.focus {
4399
+ background-color: $wac-pink-color-focus;
4400
+ border-color: $wac-pink-color-focus;
4401
+ transition: background-color 0.3s ease-in-out;
4402
+ }
4403
+ }
4404
+
4405
+ &.is-loading {
4406
+ &:hover,
4407
+ &.hover {
4408
+ background-color: $wac-pink-color;
4409
+ transition: background-color 0.3s ease-in-out;
4410
+ }
4411
+ &:focus,
4412
+ &.focus {
4413
+ background-color: $wac-pink-color-focus;
4414
+ border-color: $wac-pink-color-focus;
4415
+ transition: background-color 0.3s ease-in-out;
4416
+ }
4417
+ }
4418
+
4419
+ &.disabled {
4420
+ background-color: $wac-pink-color-disabled;
4421
+ border-color: $wac-pink-color-disabled;
4422
+ transition: 0s;
4423
+ cursor: default;
4424
+ .wac-button__wrapper, .wac-button__animation {
4425
+ color: $wac-white;
4426
+ }
4427
+ &:hover,
4428
+ &:focus,
4429
+ &.hover,
4430
+ &.focus {
4431
+ background-color: $wac-pink-color-disabled;
4432
+ border-color: $wac-pink-color-disabled;
4433
+ }
4434
+ }
4435
+ }
4436
+
4437
+ &.is-grey {
4438
+ background-color: $wac-background-color;
4439
+ border-color: $wac-background-color;
4440
+ transition: background-color 0.3s ease-in-out;
4441
+
4442
+ .wac-button__loader {
4443
+ background-color: $wac-background-color-darken;
4444
+ }
4445
+
4446
+ .wac-button__wrapper, .wac-button__animation {
4447
+ color: $wac-second-color;
4448
+ transition: color 0.3s ease-in-out;
4449
+ }
4450
+
4451
+ &:hover,
4452
+ &.hover {
4453
+ background-color: $wac-background-color-darken;
4454
+ border-color: $wac-background-color-darken;
4455
+ transition: background-color 0.3s ease-in-out;
4456
+ }
4457
+
4458
+ &:focus,
4459
+ &.focus {
4460
+ background-color: $wac-background-color-focus;
4461
+ border-color: $wac-background-color-focus;
4462
+ transition: background-color 0.3s ease-in-out;
4463
+ }
4464
+
4465
+ &.is-outlined {
4466
+ background-color: transparent;
4467
+ border-color: $wac-border-light;
4468
+
4469
+ .wac-button__loader {
4470
+ background-color: $wac-background-color-darken;
4471
+ }
4472
+
4473
+ .wac-button__wrapper, .wac-button__animation {
4474
+ color: $wac-second-color !important;
4475
+ transition: color 0.3s ease-in-out;
4476
+ }
4477
+
4478
+ &:hover,
4479
+ &.hover {
4480
+ background-color: $wac-background-color;
4481
+ border-color: $wac-background-color;
4482
+ }
4483
+
4484
+ &:focus,
4485
+ &.focus {
4486
+ background-color: $wac-background-color-focus;
4487
+ border-color: $wac-background-color-focus;
4488
+ transition: background-color 0.3s ease-in-out;
4489
+ }
4490
+ }
4491
+
4492
+ &.is-loading {
4493
+ &:hover,
4494
+ &.hover {
4495
+ background-color: $wac-background-color;
4496
+ transition: background-color 0.3s ease-in-out;
4497
+ }
4498
+ }
4499
+
4500
+ &.disabled {
4501
+ background-color: $wac-background-color-disabled;
4502
+ border-color: $wac-background-color-disabled;
4503
+ transition: 0s;
4504
+ cursor: default;
4505
+
4506
+ &:hover,
4507
+ &:focus,
4508
+ &.hover,
4509
+ &.focus {
4510
+ background-color: $wac-background-color-disabled;
4511
+ border-color: $wac-background-color-disabled;
4512
+ }
4513
+ }
4514
+ }
4515
+
4516
+ &.is-danger {
4517
+ background-color: $wac-primary-button;
4518
+ border-color: $wac-primary-button;
4519
+ transition: background-color 0.3s ease-in-out;
4520
+
4521
+ .wac-button__loader {
4522
+ background-color: $wac-primary-button-darken;
4523
+ }
4524
+
4525
+ &:hover,
4526
+ &.hover {
4527
+ background-color: $wac-primary-button-darken;
4528
+ border-color: $wac-primary-button-darken;
4529
+ transition: background-color 0.3s ease-in-out;
4530
+ }
4531
+
4532
+ &:focus,
4533
+ &.focus {
4534
+ background-color: $wac-primary-button-focus;
4535
+ border-color: $wac-primary-button-focus;
4536
+ transition: background-color 0.3s ease-in-out;
4537
+ }
4538
+
4539
+ &.is-outlined {
4540
+ background-color: transparent;
4541
+ border-color: $wac-primary-button;
4542
+
4543
+ .wac-button__wrapper, .wac-button__animation {
4544
+ color: $wac-primary-button;
4545
+ transition: color 0.3s ease-in-out;
4546
+ }
4547
+
4548
+ &:hover,
4549
+ &.hover {
4550
+ background-color: $wac-primary-button;
4551
+ border-color: $wac-primary-button;
4552
+ }
4553
+
4554
+ &:focus,
4555
+ &.focus {
4556
+ background-color: $wac-primary-button-focus;
4557
+ border-color: $wac-primary-button-focus;
4558
+ transition: background-color 0.3s ease-in-out;
4559
+ }
4560
+ }
4561
+
4562
+ &.is-loading {
4563
+ &:hover,
4564
+ &.hover {
4565
+ background-color: $wac-primary-button;
4566
+ transition: background-color 0.3s ease-in-out;
4567
+ }
4568
+ }
4569
+
4570
+ &.opacity {
4571
+ background-color: $wac-primary-button-light;
4572
+ border-color: $wac-primary-button-light;
4573
+ &:hover, &:focus {
4574
+ background-color: $wac-primary-button;
4575
+ border-color: $wac-primary-button;
4576
+ }
4577
+ }
4578
+
4579
+ &.disabled {
4580
+ background-color: $wac-primary-button-disabled;
4581
+ border-color: $wac-primary-button-disabled;
4582
+ transition: 0s;
4583
+ cursor: default;
4584
+
4585
+ .wac-button__wrapper, .wac-button__animation {
4586
+ color: $wac-white;
4587
+ }
4588
+
4589
+ &:hover,
4590
+ &:focus,
4591
+ &.hover,
4592
+ &.focus {
4593
+ background-color: $wac-primary-button-disabled;
4594
+ border-color: $wac-primary-button-disabled;
4595
+ }
4596
+ }
4597
+ }
4598
+
4599
+ &.is-success {
4600
+ background-color: $wac-green-color;
4601
+ border-color: $wac-green-color;
4602
+ transition: background-color 0.3s ease-in-out;
4603
+
4604
+ .wac-button__loader {
4605
+ background-color: $wac-green-color-darken;
4606
+ }
4607
+
4608
+ &:hover,
4609
+ &.hover {
4610
+ background-color: $wac-green-color-darken;
4611
+ border-color: $wac-green-color-darken;
4612
+ transition: background-color 0.3s ease-in-out;
4613
+ }
4614
+
4615
+ &:focus,
4616
+ &.focus {
4617
+ background-color: $wac-green-color-focus;
4618
+ border-color: $wac-green-color-focus;
4619
+ transition: background-color 0.3s ease-in-out;
4620
+ }
4621
+
4622
+ &.is-outlined {
4623
+ background-color: transparent;
4624
+ border-color: $wac-green-color;
4625
+
4626
+ .wac-button__wrapper, .wac-button__animation {
4627
+ color: $wac-green-color;
4628
+ transition: color 0.3s ease-in-out;
4629
+ }
4630
+
4631
+ &:hover,
4632
+ &.hover {
4633
+ background-color: $wac-green-color;
4634
+ border-color: $wac-green-color;
4635
+ }
4639
4636
 
4640
- input {
4641
- border: none;
4642
- text-align: center;
4643
- font-size: rem(24);
4644
- color: $wac-wizishop-blue;
4645
- padding: 0;
4646
- line-height: 1.4;
4647
- margin: 0;
4648
- width: 100%;
4649
- }
4650
- }
4651
- &__hours {
4652
- margin: 0 10px 0 0;
4653
- }
4654
- &__minutes {
4655
- margin: 0 0 0 10px;
4656
- }
4637
+ &:focus,
4638
+ &.focus {
4639
+ background-color: $wac-green-color-focus;
4640
+ border-color: $wac-green-color-focus;
4641
+ transition: background-color 0.3s ease-in-out;
4657
4642
  }
4658
4643
  }
4659
- }
4660
- }
4661
4644
 
4662
- .datetimepicker-dummy .datetimepicker-clear-button {
4663
- top: -3px !important;
4664
- }
4645
+ &.is-loading {
4646
+ &:hover,
4647
+ &.hover {
4648
+ background-color: $wac-green-color;
4649
+ transition: background-color 0.3s ease-in-out;
4650
+ }
4651
+ }
4652
+ &.opacity {
4653
+ background-color: $wac-green-opacity;
4654
+ border-color: $wac-green-opacity;
4655
+ &:hover, &:focus {
4656
+ background-color: $wac-green-color;
4657
+ border-color: $wac-green-color;
4658
+ }
4659
+ }
4660
+ &.disabled {
4661
+ background-color: $wac-green-color-disabled;
4662
+ border-color: $wac-green-color-disabled;
4663
+ transition: 0s;
4664
+ cursor: default;
4665
4665
 
4666
- .datetimepicker-dummy .datetimepicker-dummy-wrapper {
4667
- border: 1px solid $wac-border-color;
4668
- border-radius: rem(3);
4666
+ .wac-button__wrapper, .wac-button__animation {
4667
+ color: $wac-white;
4668
+ }
4669
4669
 
4670
- &:hover,
4671
- &:focus {
4672
- border: 1px solid $wac-wizishop-blue;
4670
+ &:hover,
4671
+ &:focus,
4672
+ &.hover,
4673
+ &.focus {
4674
+ background-color: $wac-green-color-disabled;
4675
+ }
4676
+ }
4673
4677
  }
4674
- }
4675
4678
 
4679
+ &.is-light {
4680
+ background-color: transparent;
4681
+ border-color: $wac-border-color;
4682
+ transition: background-color 0.3s ease-in-out;
4676
4683
 
4677
- .datetimepicker {
4678
- box-shadow: none !important;
4679
- &-wrapper {
4680
- border: none !important;
4681
- box-shadow: none;
4682
- background: $wac-white;
4683
- }
4684
- }
4684
+ .wac-button__loader {
4685
+ background-color: $wac-hover-btn-grey;
4686
+ }
4685
4687
 
4686
- .datepicker {
4687
- .datepicker {
4688
- &-nav {
4689
- background: $wac-white !important;
4690
- color: $wac-main-text !important;
4691
- padding: 15px !important;
4688
+ .wac-button__wrapper, .wac-button__animation {
4689
+ color: $wac-secondary-color;
4692
4690
  }
4693
- }
4694
- }
4695
4691
 
4696
- .datetimepicker .datepicker-nav .datepicker-nav-month,
4697
- .datetimepicker .datepicker-nav .datepicker-nav-year {
4698
- color: $wac-main-text !important;
4699
- font-weight: 500 !important;
4700
- &:hover,
4701
- &:focus {
4702
- color: $wac-wizishop-blue !important;
4692
+ &:hover,
4693
+ &.hover {
4694
+ background-color: $wac-hover-btn-grey;
4695
+ transition: background-color 0.3s ease-in-out;
4696
+ }
4697
+
4698
+ &.is-loading {
4699
+ &:hover,
4700
+ &.hover {
4701
+ background-color: transparent;
4702
+ transition: background-color 0.3s ease-in-out;
4703
+ }
4704
+ }
4703
4705
  }
4704
- }
4705
4706
 
4706
- .datepicker-nav-year {
4707
- font-weight: 500 !important;
4708
- }
4707
+ &.disabled {
4708
+ background-color: $wac-disabled-button-background;
4709
+ border-color: $wac-border-form;
4709
4710
 
4710
- .datetimepicker .datepicker-nav .datepicker-nav-previous,
4711
- .datetimepicker .datepicker-nav .datepicker-nav-next {
4712
- border-radius: 3px;
4713
- color: $wac-main-text !important;
4714
- width: 25px !important;
4715
- height: 25px !important;
4716
- display: flex;
4717
- justify-content: center;
4718
- align-items: center;
4719
- align-content: center;
4720
- border: 1px solid $wac-border-light;
4721
- transition: 0.3s ease;
4722
- > svg {
4723
- display: none !important;
4711
+ .wac-button__wrapper, .wac-button__animation {
4712
+ color: $wac-disabled-button-text;
4713
+ }
4724
4714
  }
4725
- }
4726
4715
 
4727
- .datetimepicker .datepicker-nav .datepicker-nav-previous {
4728
- background: $wac-white
4729
- url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-left' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-left fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z' class=''%3E%3C/path%3E%3C/svg%3E")
4730
- center center no-repeat !important;
4731
- background-size: 6px auto !important;
4732
- &:hover,
4733
- &:focus {
4734
- border-color: $wac-wizishop-blue !important;
4716
+ &.is-outlined {
4717
+ &:hover,
4718
+ &.hover {
4719
+ .wac-button__wrapper, .wac-button__animation {
4720
+ color: $wac-white;
4721
+ transition: color 0.3s ease-in-out;
4722
+ }
4723
+ }
4735
4724
  }
4736
- }
4737
4725
 
4738
- .datetimepicker .datepicker-nav .datepicker-nav-next {
4739
- background: $wac-white
4740
- url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='chevron-right' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' class='svg-inline--fa fa-chevron-right fa-w-10 fa-2x'%3E%3Cpath fill='currentColor' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z' class=''%3E%3C/path%3E%3C/svg%3E")
4741
- center center no-repeat !important;
4742
- background-size: 6px auto !important;
4743
- &:hover,
4744
- &:focus {
4745
- border-color: $wac-wizishop-blue !important;
4746
- }
4747
- }
4726
+ &__loader {
4727
+ position: absolute;
4728
+ left: -1px;
4729
+ top: 0;
4730
+ height: 100%;
4731
+ z-index: 1;
4732
+ transition: width 0.3s ease-in-out;
4733
+ overflow: hidden;
4748
4734
 
4749
- .wac-calendar__absolute {
4750
- .datetimepicker .datepicker-body .datepicker-weekdays {
4751
- padding: 0 15px;
4752
- }
4753
- .datepicker-weekdays {
4754
- height: 14px;
4755
- margin: 0 0 rem(12);
4756
- .datepicker-date {
4757
- font-size: rem(12);
4735
+ span {
4736
+ position: absolute;
4737
+ left: 20px;
4738
+ top: 7px;
4739
+ color: $wac-white;
4740
+ overflow: hidden;
4741
+ text-overflow: clip;
4742
+ font-size: 14px;
4743
+ line-height: 26px;
4758
4744
  white-space: nowrap;
4759
- line-height: 1;
4760
- padding: 0 !important;
4761
- color: $wac-secondary-color !important;
4745
+ z-index: 3;
4746
+
4747
+ i {
4748
+ margin-right: 1.4px;
4749
+ }
4750
+ }
4751
+
4752
+ &.outlined {
4753
+ z-index: 4;
4762
4754
  }
4763
4755
  }
4764
- .datepicker-days {
4765
- padding: 0 15px !important;
4766
- }
4767
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active {
4768
- background-color: $wac-wizishop-blue;
4769
- }
4770
- .datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item:hover {
4771
- border-color: $wac-wizishop-blue;
4756
+
4757
+ &.alone {
4758
+ .wac-button__loader span {
4759
+ left: 14.6px;
4760
+ }
4772
4761
  }
4773
- }
4774
4762
 
4775
- .datetimepicker .datetimepicker-footer {
4776
- display: none;
4763
+ &.opacity {
4764
+ min-width: rem(40);
4765
+ min-height: rem(40);
4766
+
4767
+ &.alone {
4768
+ display: flex;
4769
+ align-items: center;
4770
+ justify-content: center;
4771
+ }
4772
+
4773
+ &.is-success {
4774
+ i {
4775
+ color: $wac-green-color!important;
4776
+ }
4777
+ &:hover, &:focus {
4778
+ i {
4779
+ color: $wac-white!important;
4780
+ }
4781
+ }
4782
+ }
4783
+
4784
+ &.is-danger {
4785
+ i {
4786
+ color: $wac-primary-button!important;
4787
+ }
4788
+ &:hover, &:focus {
4789
+ i {
4790
+ color: $wac-white!important;
4791
+ }
4792
+ }
4793
+ }
4794
+ }
4777
4795
  }
4778
4796
  .wac-wrapper {
4779
4797
  width: 100%;
@@ -5223,6 +5241,18 @@ h3.wac-h3 {
5223
5241
  border-radius: 3px;
5224
5242
  margin: 0 0 15px;
5225
5243
  padding: 30px;
5244
+ border: 2px solid transparent;
5245
+ transition: .3s ease;
5246
+ &.selected, &:hover, &:focus {
5247
+ border-color: $wac-input-active-color;
5248
+ opacity: 1!important;
5249
+ }
5250
+ &.firstWacRadioBLock {
5251
+ opacity: 1!important;
5252
+ }
5253
+ &:not(.selected) {
5254
+ opacity: .45;
5255
+ }
5226
5256
  @include media('<tablet') {
5227
5257
  padding: 20px;
5228
5258
  flex-direction: column;
@@ -5234,9 +5264,11 @@ h3.wac-h3 {
5234
5264
  margin: 0 20px 0 0;
5235
5265
  display: flex;
5236
5266
  align-items: center;
5267
+ cursor: pointer;
5237
5268
  }
5238
5269
  &__center {
5239
5270
  width: 100%;
5271
+ cursor: pointer;
5240
5272
  }
5241
5273
  &__right {
5242
5274
  display: flex;
@@ -5246,6 +5278,13 @@ h3.wac-h3 {
5246
5278
  margin: 0 0 0 20px;
5247
5279
  }
5248
5280
  }
5281
+ &:hover, &:focus {
5282
+ input + label {
5283
+ &:before {
5284
+ border-color: $wac-input-active-color !important;
5285
+ }
5286
+ }
5287
+ }
5249
5288
  }
5250
5289
 
5251
5290
  .wac-radio-block {