index.styl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // vue/app/pages/Contacts/index.styl
  2. // Стили исключительно для страницы контактов
  3. .contacts-section
  4. .contact-card
  5. transition: all 0.3s ease
  6. &:hover
  7. transform: translateY(-5px)
  8. box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)
  9. .working-hours
  10. .hour-item
  11. transition: all 0.3s ease
  12. border-bottom: 1px solid #e5e7eb
  13. .dark &
  14. border-bottom-color: #374151
  15. &:last-child
  16. border-bottom: none
  17. &:hover
  18. background-color: rgba(0, 0, 0, 0.02)
  19. .dark &
  20. background-color: rgba(255, 255, 255, 0.02)
  21. .transport-list
  22. li
  23. position: relative
  24. padding-left: 1rem
  25. &::before
  26. content: '•'
  27. position: absolute
  28. left: 0
  29. color: #d69e2e
  30. // Адаптивность для мобильных устройств
  31. @media (max-width: 768px)
  32. .contacts-section
  33. .grid
  34. gap: 1rem
  35. .bg-white, .bg-gray-800
  36. padding: 1.5rem
  37. .text-4xl
  38. font-size: 2.25rem
  39. line-height: 2.5rem
  40. // Анимации для контактных карточек
  41. @keyframes contactCardAppear
  42. from
  43. opacity: 0
  44. transform: translateX(-50px)
  45. to
  46. opacity: 1
  47. transform: translateX(0)
  48. .contact-card
  49. animation: contactCardAppear 0.6s ease forwards
  50. &:nth-child(1)
  51. animation-delay: 0.1s
  52. &:nth-child(2)
  53. animation-delay: 0.2s
  54. &:nth-child(3)
  55. animation-delay: 0.3s
  56. &:nth-child(4)
  57. animation-delay: 0.4s