specialization.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .specialization {
  2. display: block;
  3. &__title {
  4. text-decoration: none;
  5. color: #3b434d;
  6. &::before {
  7. content: '';
  8. position: absolute;
  9. width: 51px;
  10. height: 51px;
  11. border-radius: 50%;
  12. left: -10px;
  13. top: -8px;
  14. border: 5px solid #ffffff;
  15. background: url("../img/icon_leftbar_innermenu_02@2x.png") 50% 50% / 20px 24px no-repeat #3b434d;
  16. }
  17. }
  18. &__list {
  19. width: 100%;
  20. margin-top: 5px;
  21. position: relative;
  22. z-index: 5;
  23. height: 0;
  24. overflow: hidden;
  25. transition: all .5s ease;
  26. background: #ffffff;
  27. &.active {
  28. height: auto;
  29. overflow: auto;
  30. transition: all .5s ease;
  31. }
  32. }
  33. &__item {
  34. border-bottom: 1px solid #ebebeb;
  35. }
  36. &__link {
  37. color: #3b434d;
  38. text-decoration: none;
  39. font-size: 15px;
  40. padding: 8px;
  41. line-height: 19px;
  42. display: block;
  43. font-family: $fontcuprum;
  44. font-weight: normal;
  45. &:hover {
  46. color: #004d7b;
  47. background: #d2dee9;
  48. }
  49. }
  50. }