specialization.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. &.active {
  27. height: auto;
  28. overflow: auto;
  29. transition: all .5s ease;
  30. }
  31. }
  32. &__item {
  33. border-bottom: 1px solid #ebebeb;
  34. }
  35. &__link {
  36. color: #3b434d;
  37. text-decoration: none;
  38. font-size: 15px;
  39. padding: 8px;
  40. line-height: 19px;
  41. display: block;
  42. font-family: $fontcuprum;
  43. font-weight: normal;
  44. &:hover {
  45. color: #004d7b;
  46. background: #d2dee9;
  47. }
  48. }
  49. }