leftbar.scss 2.2 KB

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