index.module.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .icon {
  2. margin-right: 12px;
  3. width: 24px;
  4. height: 24px;
  5. background: center center no-repeat;
  6. background-size: contain;
  7. }
  8. .high-quality-icon {
  9. background-image: url(./assets/high-quality.svg);
  10. }
  11. .economy-icon {
  12. background-image: url(./assets/economy.svg);
  13. }
  14. .wrapper .item:hover {
  15. background-color: #ffffff;
  16. border-color: #B2CCFF;
  17. box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  18. }
  19. .wrapper .item-active {
  20. background-color: #ffffff;
  21. border-width: 1.5px;
  22. border-color: #528BFF;
  23. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  24. }
  25. .wrapper .item-active .radio {
  26. border-width: 5px;
  27. border-color: #155EEF;
  28. }
  29. .wrapper .item-active:hover {
  30. border-width: 1.5px;
  31. border-color: #528BFF;
  32. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  33. }
  34. .wrapper .item.disable {
  35. @apply opacity-60;
  36. }
  37. .wrapper .item-active.disable {
  38. @apply opacity-60;
  39. }
  40. .wrapper .item.disable:hover {
  41. @apply bg-gray-25 border border-gray-100 shadow-none cursor-default opacity-60;
  42. }
  43. .wrapper .item-active.disable:hover {
  44. @apply cursor-default opacity-60;
  45. border-width: 1.5px;
  46. border-color: #528BFF;
  47. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  48. }