archive.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .archive{
  2. .breadcrumbs{
  3. }
  4. background: white;
  5. padding: 30px 30px 30px 0;
  6. .topics-list{
  7. height: 100%;
  8. .topics-continer{
  9. border-right: 1px solid #eee;
  10. ul{
  11. li{
  12. a{
  13. font: 18px/22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  14. padding: 15px 10px 10px 30px;
  15. display: block;
  16. &.active{
  17. background: rgba(59,85,115,.1);
  18. }
  19. }
  20. }
  21. }
  22. }
  23. }
  24. .news-list{
  25. position: relative;
  26. .archive-news-item{
  27. display: flex;
  28. padding: 30px 30px 30px 0;
  29. border-bottom: 1px solid #eee;
  30. align-items: center;
  31. .illustration{
  32. min-width: 220px;
  33. width: 220px;
  34. margin-right: 30px;
  35. }
  36. .meta{
  37. .title{
  38. a{
  39. font: 24px/29px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  40. }
  41. }
  42. .published_at{
  43. font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  44. color: #a8a8a8;
  45. }
  46. }
  47. }
  48. }
  49. .pagination{
  50. margin-top: 30px;
  51. color: #3b5573;
  52. display: flex;
  53. font: 14px/1 "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  54. li{
  55. a{
  56. display: flex;
  57. width: 100%;
  58. height: 100%;
  59. justify-content: center;
  60. align-items: center;
  61. }
  62. background: rgba(59,85,115,.08);
  63. display: flex;
  64. width: 40px;
  65. height: 40px;
  66. border-radius: 4px;
  67. margin-right: 7px;
  68. justify-content: center;
  69. align-items: center;
  70. &.active{
  71. a{
  72. background: #f5f5f5;
  73. color: #f6911f;
  74. }
  75. }
  76. &.disabled{
  77. cursor: not-allowed;
  78. color: #b3b3b3;
  79. user-select: none;
  80. }
  81. }
  82. }
  83. .filters{
  84. position: absolute;
  85. top: 0;
  86. right: 0;
  87. .icon{
  88. width: 25px;
  89. height: 25px;
  90. }
  91. }
  92. #filters-modal{
  93. position: fixed;
  94. display: block;
  95. width: 500px;
  96. padding: 30px;
  97. background: #fff;
  98. box-shadow: #000 0 0 11px -5px;
  99. z-index: 999;
  100. right: 60px;
  101. left: 0;
  102. top: -100%;
  103. margin: auto;
  104. transition: .3s;
  105. opacity: 0;
  106. &.active{
  107. display: block;
  108. top: 40%;
  109. opacity: 1;
  110. }
  111. form{
  112. display: flex;
  113. justify-content: center;
  114. flex-wrap: wrap;
  115. button{
  116. background: rgba(59,85,115,.08);
  117. display: flex;
  118. height: 40px;
  119. border-radius: 4px;
  120. justify-content: center;
  121. align-items: center;
  122. outline: none;
  123. border: none;
  124. padding: 0 30px;
  125. font: 14px/1 "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  126. color: #3b5573;
  127. }
  128. }
  129. }
  130. }