leftbar.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. }
  37. &__subtitle {
  38. background: #d7d7d7;
  39. border-radius: 10px 0 0 0 / 10px 0 0 0;
  40. padding: 10px;
  41. line-height: 20px;
  42. color: #3b434d;
  43. font-size: 17px;
  44. font-family: $fontcuprum;
  45. font-weight: bold;
  46. margin-bottom: 20px;
  47. }
  48. &__item {
  49. position: relative;
  50. display: -webkit-flex;
  51. display: -ms-flex;
  52. display: flex;
  53. flex-direction: column;
  54. margin-bottom: 40px;
  55. &::before {
  56. content: '';
  57. position: absolute;
  58. width: 51px;
  59. height: 51px;
  60. border-radius: 50%;
  61. left: -10px;
  62. top: -8px;
  63. border: 5px solid #ffffff;
  64. }
  65. &--search::before {
  66. background: url("../img/icon_leftbar_search@2x.png") 50% 50% / 26px 26px no-repeat #004d7b;
  67. }
  68. &--innermenu_01::before {
  69. background: url("../img/icon_leftbar_innermenu_01@2x.png") 50% 50% / 23px 33px no-repeat #004d7b;
  70. }
  71. &--popularservice::before {
  72. visibility: hidden;
  73. }
  74. }
  75. &__arrow {
  76. padding: 5px 8px;
  77. transform: rotate(0deg);
  78. &.active {
  79. transform: rotate(90deg);
  80. }
  81. }
  82. @media screen and (max-width: 1220px) {
  83. width: 100%;
  84. }
  85. }