leftbar.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. .leftbar {
  2. width: 18.7%;
  3. margin-right: 3.1%;
  4. display: -webkit-flex;
  5. display: -ms-flex;
  6. display: flex;
  7. flex-direction: column;
  8. z-index: 2;
  9. &__title {
  10. padding-left: 58px;
  11. height: 45px;
  12. background: #ebebeb;
  13. border-radius: 25px 0 0 25px;
  14. display: -webkit-flex;
  15. display: -ms-flex;
  16. display: flex;
  17. flex-direction: row;
  18. justify-content: space-between;
  19. align-content: center;
  20. align-items: center;
  21. font-family: $fontcuprum;
  22. font-size: 20px;
  23. color: #004d7b;
  24. font-weight: bold;
  25. flex-wrap: wrap;
  26. position: relative;
  27. &--popularservice {
  28. padding-left: 10px;
  29. border-radius: 0;
  30. }
  31. &--popular-specializations {
  32. padding-left: 10px;
  33. border-radius: 0;
  34. font-size: 18px;
  35. }
  36. &--adjacent-specialization {
  37. text-decoration: none;
  38. height: 54px;
  39. margin-bottom: 10px;
  40. &:before {
  41. position: absolute;
  42. left: 2px;
  43. top: 2px;
  44. display: block;
  45. content: '';
  46. background: #fff;
  47. width: 50px;
  48. height: 50px;
  49. border-radius: 50%;
  50. }
  51. }
  52. }
  53. &__subtitle {
  54. background: #d7d7d7;
  55. border-radius: 10px 0 0 0 / 10px 0 0 0;
  56. padding: 10px;
  57. line-height: 20px;
  58. color: #3b434d;
  59. font-size: 17px;
  60. font-family: $fontcuprum;
  61. font-weight: bold;
  62. margin-bottom: 20px;
  63. }
  64. &__item {
  65. position: relative;
  66. display: -webkit-flex;
  67. display: -ms-flex;
  68. display: flex;
  69. flex-direction: column;
  70. margin-bottom: 40px;
  71. &::before {
  72. content: '';
  73. position: absolute;
  74. width: 51px;
  75. height: 51px;
  76. border-radius: 50%;
  77. left: -10px;
  78. top: -8px;
  79. border: 5px solid #ffffff;
  80. }
  81. &--search::before {
  82. background: url("../img/icon_leftbar_search@2x.png") 50% 50% / 26px 26px no-repeat #004d7b;
  83. }
  84. &--innermenu_01::before {
  85. background: url("../img/icon_leftbar_innermenu_01@2x.png") 50% 50% / 23px 33px no-repeat #004d7b;
  86. }
  87. &--popularservice::before {
  88. visibility: hidden;
  89. }
  90. }
  91. &__arrow {
  92. padding: 5px 8px;
  93. transform: rotate(0deg);
  94. &.active {
  95. transform: rotate(90deg);
  96. }
  97. }
  98. &__item-caption {
  99. line-height: 20px;
  100. color: #3b434d;
  101. font-size: 17px;
  102. font-family: $fontcuprum;
  103. font-weight: bold;
  104. margin-bottom: 10px;
  105. }
  106. @media screen and (max-width: 1220px) {
  107. width: 100%;
  108. }
  109. }