@import "stories"; header { #js-header-bottom-id { &.fixed { position: fixed; top: 0; z-index: 99999; width: 100%; } } .nav-cont{ @media(max-width: @size-mobile){ max-width: 100%; overflow: hidden; position: relative; .header__bottom{ .header-bottom__nav{ display: none; } .header-bottom__wrapper{ .header-bottom__side{ display: none; } } } .burger{ position: absolute; height: 30px; width: 25px; top: 0; bottom: 0; right: 15px; margin: auto; .hamburger{ display: block; position: absolute; height: 2px; width: 100%; top: 0px; bottom: 0; margin: auto; background: black; &:before{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: -6px; background: black; } &:after{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: 6px; background: black; } } } .dots{ position: absolute; height: 30px; width: 25px; top: 0; bottom: 0; right: 60px; margin: auto; display: flex; justify-content: center; align-items: center; .dots-anhcor{ height: 4px; width: 4px; background: #a8a8a8; border-radius: 50%; &:before,&:after{ content: ""; position: absolute; height: 4px; width: 4px; background: #a8a8a8; border-radius: 50%; } &:before{ top: 5px; } &:after{ top: 20px; } } } } } } header{ position: relative; padding: 10px 0; #stories{ display: none; &.stories{ display: block; } } .stories-cel{ @media (max-width: 991px){ //Переходный формат max-width: 100%; } } .stories_cont{ display: flex; height: 100%; align-items: center; @media(max-width: @size-mobile){ margin-right: -15px; } } .header-center__comments{ @media (max-width: 991px){ display: none; } } .header-center__info{ color: #5a748b; align-items: center; display: flex; height: 100%; &-link{ white-space: nowrap; color: #3b9b00; line-height: 22px; &_down{ color: #ad0000; } } } .header-comments__item:not(:last-child){ margin-bottom: 8px; } .header-comments__title{ margin-bottom: 5px; font-size: 12px; line-height: 17px; color: #a8a8a8; text-transform: uppercase; letter-spacing: .1em; } .header-comments-item__bottom, .header-comments-item__text{ line-height: 16px; max-height: 32px; overflow: hidden; font-size: 12px; } .header-comments-item__bottom{ display: flex; justify-content: space-between; color: #a8a8a8; .header-comments-item__title{ max-width: 355px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .header-comments-item__time{ white-space: nowrap; } } .header__bottom{ background-color: white; .header-bottom__wrapper{ display: flex; justify-content: space-between; padding: 15px 0 13px; .header-bottom__main{ display: flex; align-items: center; .header-bottom__logo{ margin-right: 32px; } .header-bottom__nav{ margin: 0 42px 0 53px; .header-nav{ .header-nav__list{ display: flex; list-style: none; margin: 0; .header-nav__item:not(:last-child) { margin-right: 23px; } .header-nav__link { font: 700 12px/14px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif; text-transform: uppercase; letter-spacing: .065em; } } } } } .header-bottom__side{ display: flex; .header-bottom__buttons{ display: flex; align-items: center; .header-bottom__button:not(:last-child) { margin-right: 10px; } } } @media(max-width: @size-mobile){ display: flex; justify-content: space-between; padding: 0; .header-bottom__main{ .header-bottom__logo{ margin-right:0; padding: 7px 0; } } } } } #stories{ -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ &::-webkit-scrollbar { display: none; } } } @media (max-width: @size-mobile){ .sidemenu_overlay,.sidemenu_rubrics_overlay{ position: fixed; width: 100%; height: 100%; left: 100%; top:0; background: #00000055; color: white; transition: 0.2s ease-in-out; &.active{ left: 0; } .sidemenu{ display: block; height: 100%; width: calc(100% - 30px); margin-left: 30px; background-color: #3b5573; .sidemenu_header{ background: #eaeaea; padding: 10px; display: flex; align-items: center; .search_form{ display: flex; flex-grow: 1; input{ display: block; border: none; flex-grow: 1; border-top-left-radius: 50px; border-bottom-left-radius: 50px; outline: none; padding: 4px 3px 4px 26px; width: 20%; background-image: url(/img/search.svg); background-repeat: no-repeat; background-size: 14px; background-position: 9px 8px; } button{ display: block; border: none; background: #f5f5f5; color: #f6911f; border-top-right-radius: 50px; border-bottom-right-radius: 50px; padding: 3px 10px; outline: none; } } .hamburger { display: flex; color: #767471; height: 15px; margin-left: 15px; .hamburger-inner { background-color: #767471; &:after{ background-color: #767471; } } } } .sidemenu_content{ ul{ list-style: none; padding: 0; margin-top: 15px; li{ margin-bottom: 15px; a{ position: relative; font-size: 20px; padding: 0 0 0 30px; text-decoration: none; color: white; font-weight: bold; } } } .header-bottom__buttons{ padding: 0 30px; margin-bottom: 5px; .header-bottom__button{ margin-bottom: 5px; a{ width: 140px; } } } } } } } .hamburger{ display: block; position: absolute; height: 15px; right: 0px; color: gray; .hamburger-inner{ background-color: gray; } } @media not (max-width: @size-mobile){ .burgerd { line-height: 12px; font-size: 23px; cursor: pointer; } /* .burger{ position: absolute; height: 30px; width: 25px; bottom: 26px; left: 15px; margin: auto; .hamburger{ display: block; position: absolute; height: 2px; width: 100%; top: 0px; bottom: 0; margin: auto; background: black; &:before{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: -6px; background: black; } &:after{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: 6px; background: black; } } } */ .dots{ position: absolute; height: 30px; width: 25px; top: 0; bottom: 0; right: 60px; margin: auto; display: flex; justify-content: center; align-items: center; .dots-anhcor{ height: 4px; width: 4px; background: #a8a8a8; border-radius: 50%; &:before,&:after{ content: ""; position: absolute; height: 4px; width: 4px; background: #a8a8a8; border-radius: 50%; } &:before{ top: 5px; } &:after{ top: 20px; } } } .sidemenu_overlay,.sidemenu_rubrics_overlay{ position: fixed; width: 100%; height: 100%; left: 100%; top:0; background: #00000055; color: white; transition: 0.2s ease-in-out; &.active{ left: 0; backdrop-filter: blur(5px); } .sidemenu{ display: block; height: 100%; background-color: #3b5573; width: calc(100% - 300px); margin: 0 auto; opacity: 0.9; .sidemenu_header{ background: #eaeaea; padding: 10px; display: flex; align-items: center; .search_form{ display: flex; flex-grow: 1; input{ display: block; border: none; flex-grow: 1; border-top-left-radius: 50px; border-bottom-left-radius: 50px; outline: none; padding: 4px 3px 4px 26px; width: 20%; background-image: url(/img/search.svg); background-repeat: no-repeat; background-size: 14px; background-position: 9px 8px; } button{ display: block; border: none; background: #f5f5f5; color: #f6911f; border-top-right-radius: 50px; border-bottom-right-radius: 50px; padding: 3px 10px; outline: none; } } .hamburger { display: flex; color: #767471; height: 15px; margin-left: 15px; .hamburger-inner { background-color: #767471; &:after{ background-color: #767471; } } } .hamburger, .dots{ position: relative; width: 20px; &.is-active{ .hamburger-box{ transform: rotate(45deg); &:before{ top: 0; transform: rotate(90deg); } &:after{ display: none; } } } .hamburger-box{ display: block; position: absolute; height: 2px; width: 100%; top: 0px; bottom: 0; margin: auto; background: black; &:before{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: -6px; background: black; } &:after{ content: ""; display: block; position: absolute; height: 2px; width: 100%; top: 6px; background: black; } } } } .sidemenu_content{ margin: 20px 50px; overflow: hidden; .list-wrapper{ -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; border-top: 1px solid #ea943a; margin-top: 0px; padding-top: 8px; } ul{ list-style: none; padding: 0; margin-top: 15px; margin-bottom: 0px; -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; li{ margin-bottom: 15px; a{ position: relative; font-size: 20px; padding: 0 0 0 30px; text-decoration: none; color: white; font-weight: bold; } } .hr{ width: 50%; border-top: solid #e8864b 1px; } } .header-bottom__buttons{ display:none; } } } } }