123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558 |
- @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_cont{
- display: flex;
- height: 100%;
- align-items: center;
- @media(max-width: @size-mobile){
- margin-right: -15px;
- }
- }
- .header-center__comments{
- @media (max-width: 375px){
- 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;
- }
- }
- }
- }
- }
|