_header.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. @media screen and (min-width: 1209px) {
  2. /* Header hover */
  3. .header__contact-link {
  4. &:hover {
  5. color: #ffffff;
  6. }
  7. }
  8. .header__link {
  9. &:hover {
  10. color: #CDB092;
  11. }
  12. }
  13. }
  14. /* Header */
  15. .header__top {
  16. display: flex;
  17. align-items: center;
  18. height: 30px;
  19. background-color: #39060A;
  20. }
  21. .header__contact-list {
  22. display: flex;
  23. justify-content: flex-end;
  24. }
  25. .header__contact-item {
  26. display: flex;
  27. align-items: center;
  28. font-weight: 500;
  29. font-size: 11px;
  30. line-height: 14px;
  31. margin-right: 30px;
  32. color: #BDBDBD;
  33. &:last-child {
  34. margin-right: 0px;
  35. }
  36. }
  37. .header__contact-link {
  38. transition: color .4s;
  39. }
  40. .header__main {
  41. display: flex;
  42. align-items: center;
  43. background-color: #7A1B2E;
  44. height: 65px;
  45. }
  46. .header__main__wrapper {
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. }
  51. .header__logo {
  52. width: 100px;
  53. height: 41px;
  54. }
  55. .header__nav {
  56. margin-left: 40px;
  57. }
  58. .header__list {
  59. display: flex;
  60. align-items: center;
  61. font-weight: 500;
  62. font-size: 12px;
  63. line-height: 15px;
  64. letter-spacing: 0.05em;
  65. text-transform: uppercase;
  66. color: #ffffff;
  67. }
  68. .header__item {
  69. margin-right: 30px;
  70. &:last-child {
  71. margin-right: 0px;
  72. }
  73. }
  74. .header__link {
  75. transition: color .4s;
  76. }
  77. .header-burger-menu,
  78. .header__burger-button {
  79. display: none;
  80. }
  81. @media screen and (max-width: 1210px) {
  82. .header__top {
  83. .header__contact-item {
  84. margin-right: 0px;
  85. &:nth-child(n + 2) {
  86. display: none;
  87. }
  88. }
  89. }
  90. .header__logo {
  91. width: 70px;
  92. height: 29px;
  93. margin-right: 20px;
  94. }
  95. .header-burger-menu {
  96. display: block;
  97. position: fixed;
  98. left: 0px;
  99. top: 0px;
  100. width: 100%;
  101. height: 100%;
  102. padding: 75px 20px 20px;
  103. background-color: #39060A;
  104. overflow: auto;
  105. scrollbar-width: none;
  106. -ms-overflow-style: none;
  107. z-index: 4;
  108. transform: translateX(101%);
  109. &.active {
  110. transform: translateX(0%);
  111. transition: transform .4s;
  112. }
  113. &::-webkit-scrollbar {
  114. display: none;
  115. }
  116. }
  117. .header__nav {
  118. display: none;
  119. }
  120. .header__list--burger {
  121. flex-direction: column;
  122. align-items: flex-start;
  123. padding-bottom: 30px;
  124. border-bottom: 1px solid #561623;
  125. font-size: 14px;
  126. line-height: 18px;
  127. }
  128. .header__item {
  129. margin-bottom: 30px;
  130. &:last-child {
  131. margin-bottom: 0px;
  132. }
  133. }
  134. .header__contact-list--burger {
  135. flex-direction: column;
  136. justify-content: flex-start;
  137. margin-top: 30px;
  138. font-size: 14px;
  139. line-height: 18px;
  140. .header__contact-item {
  141. margin-bottom: 30px;
  142. &:last-child {
  143. margin-bottom: 0px;
  144. }
  145. }
  146. }
  147. .close__popup--burger {
  148. &::before,
  149. &::after {
  150. background-color: #ffffff;
  151. }
  152. }
  153. .header__burger-button {
  154. display: block;
  155. width: 25px;
  156. height: 18px;
  157. margin-left: 20px;
  158. border-top: 2px solid #ffffff;
  159. border-bottom: 2px solid #ffffff;
  160. position: relative;
  161. &::before {
  162. content: "";
  163. position: absolute;
  164. left: 0px;
  165. top: 50%;
  166. transform: translateY(-50%);
  167. width: 100%;
  168. height: 2px;
  169. background-color: #ffffff;
  170. }
  171. }
  172. }
  173. /* //Header */