123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- .archive{
- .breadcrumbs{
- }
- background: white;
- padding: 30px 30px 30px 0;
- @media(max-width: 375px){
- padding: 0;
- .news-list{
- padding: 15px 10px;
- position: relative;
- .filters{
- top: 10px;
- right: 10px;
- }
- }
- }
- .topics-list{
- @media(max-width: @size-mobile){
- display: none;
- }
- height: 100%;
- .topics-continer{
- border-right: 1px solid #eee;
- ul{
- li{
- a{
- font: 18px/22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- padding: 15px 10px 10px 30px;
- display: block;
- &.active{
- background: rgba(59,85,115,.1);
- }
- }
- .hr{
- border-bottom: #282b2b 2px;
- display: flex;
- border-bottom: 1px solid #bfbebd;
- margin: 0px 30px;
- padding-top: 5px;
- }
- .header {
- text-align: center;
- font-weight: bold;
- font-size: 1.4em;
- position: relative;
- display: none;
- padding: 4px;
- color: #888787;
- }
- }
- }
- }
- }
- .news-list{
- position: relative;
- .archive-news-item{
- display: flex;
- padding: 30px 30px 30px 0;
- border-bottom: 1px solid #eee;
- align-items: center;
- .illustration{
- min-width: 220px;
- width: 220px;
- margin-right: 30px;
- .picture-cont-16x9 div{
- height: 56.25%;
- overflow: hidden;
- }
- }
- .meta{
- .title{
- a{
- font: 24px/29px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- }
- }
- .published_at{
- font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- color: #a8a8a8;
- .icon{
- width: 10px;
- height: 10px;
- fill: #a8a8a8;
- margin-right: 5px;
- }
- }
- }
- }
- @media(max-width: @size-mobile){
- .archive-news-item{
- flex-direction: column;
- padding: 0;
- padding-bottom: 15px;
- margin-bottom: 15px;
- .illustration{
- width: 100%;
- margin-right: 0;
- margin-bottom: 15px;
- }
- }
- }
- }
- .pagination{
- margin-top: 30px;
- color: #3b5573;
- display: flex;
- font: 14px/1 "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- max-width: 100%;
- overflow: hidden;
- @media(max-width: @size-mobile){
- overflow-x: scroll;
- }
- li{
- a{
- display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
- align-items: center;
- }
- background: rgba(59,85,115,.08);
- display: flex;
- flex-grow: 1;
- height: 40px;
- border-radius: 4px;
- margin-right: 7px;
- justify-content: center;
- align-items: center;
- &.active{
- a{
- background: #f5f5f5;
- color: #f6911f;
- }
- }
- &.disabled{
- cursor: not-allowed;
- color: #b3b3b3;
- user-select: none;
- }
- }
- }
- .filters{
- position: absolute;
- top: 0;
- right: 0;
- .icon{
- width: 25px;
- height: 25px;
- }
- }
- #filters-modal{
- position: fixed;
- display: block;
- width: 500px;
- padding: 30px;
- background: #fff;
- box-shadow: #000 0 0 11px -5px;
- z-index: 999;
- right: 60px;
- left: 0;
- top: -100%;
- margin: auto;
- transition: .3s;
- opacity: 0;
- @media(max-width: @size-mobile){
- width: 100%;
- }
- &.active{
- display: block;
- top: 40%;
- opacity: 1;
- }
- form{
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- button{
- background: rgba(59,85,115,.08);
- display: flex;
- height: 40px;
- border-radius: 4px;
- justify-content: center;
- align-items: center;
- outline: none;
- border: none;
- padding: 0 30px;
- font: 14px/1 "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- color: #3b5573;
- }
- }
- }
- }
|