full-news.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. .full-news {
  2. &__details {
  3. display: -webkit-flex;
  4. display: -ms-flex;
  5. display: flex;
  6. flex-direction: row;
  7. font-size: 13px;
  8. width: 100%;
  9. justify-content: space-between;
  10. height: 14px;
  11. line-height: 14px;
  12. margin-bottom: 20px;
  13. }
  14. &__left {
  15. display: -webkit-flex;
  16. display: -ms-flex;
  17. display: flex;
  18. flex-direction: row;
  19. height: 14px;
  20. line-height: 14px;
  21. }
  22. &__date {
  23. margin-right: 20px;
  24. color: #929292;
  25. }
  26. &__category {
  27. color: #e65e26;
  28. text-decoration: none;
  29. margin-right: 20px;
  30. height: 14px;
  31. line-height: 14px;
  32. background: url("../img/icon_category@2x.png") 0 -7px / 30px 60px no-repeat;
  33. padding-left: 23px;
  34. &:hover {
  35. color: #eb914e;
  36. background: url("../img/icon_category@2x.png") 0 -37px / 30px 60px no-repeat;
  37. }
  38. }
  39. &__region {
  40. color: #e65e26;
  41. text-decoration: none;
  42. margin-right: 20px;
  43. background: url("../img/icon_regionmark.png") 0 0 / 10px 28px no-repeat;
  44. padding-left: 15px;
  45. height: 14px;
  46. line-height: 14px;
  47. position: relative;
  48. z-index: 1;
  49. &:hover {
  50. color: #eb914e;
  51. background-position: 0 -14px;
  52. }
  53. }
  54. &__right {
  55. display: -webkit-flex;
  56. display: -ms-flex;
  57. display: flex;
  58. flex-direction: row;
  59. color: #929292;
  60. height: 14px;
  61. line-height: 14px;
  62. }
  63. &__views {
  64. margin-right: 20px;
  65. background: url("../img/icon_views@2x.png") left center / auto 12px no-repeat;
  66. padding-left: 23px;
  67. height: 14px;
  68. line-height: 14px;
  69. }
  70. &__comments {
  71. background: url("../img/icon_comments@2x.png") left center / auto 15px no-repeat;
  72. padding-left: 18px;
  73. height: 14px;
  74. line-height: 14px;
  75. }
  76. &__slideritem {
  77. text-align: center;
  78. }
  79. &__sliderimg {
  80. display: block;
  81. width: 100%;
  82. max-width: 710px;
  83. height: 100%;
  84. max-height: 360px;
  85. border-radius: 10px 0 0 0 / 10px 0 0 0;
  86. margin: auto;
  87. }
  88. .lSPager.lSGallery {
  89. li {
  90. margin: 5px 0;
  91. img {
  92. margin: auto;
  93. filter: grayscale(0.75) saturate(75%) contrast(75%) brightness(0.75);
  94. &:hover {
  95. filter: none;
  96. }
  97. }
  98. &.active img {
  99. filter: none;
  100. }
  101. }
  102. }
  103. &__block-title {
  104. font-family: "cuprum", Impact, "Charcoal CY", sans-serif;
  105. font-size: 20px;
  106. color: #004d7b;
  107. font-weight: 600;
  108. padding: 10px 0;
  109. display: block;
  110. }
  111. &__announce {
  112. font-size: 18px;
  113. font-family: $fontcuprum;
  114. margin: 20px 0;
  115. }
  116. &__text {
  117. margin-bottom: 40px;
  118. padding-bottom: 10px;
  119. border-bottom: 1px solid #ebebeb;
  120. &:before,
  121. &:after {
  122. display: block;
  123. clear: both;
  124. content: '';
  125. }
  126. h2 {
  127. @extend %h2;
  128. }
  129. h3 {
  130. @extend %h3;
  131. }
  132. p {
  133. @extend %p;
  134. }
  135. ul {
  136. @extend %ul;
  137. }
  138. ol {
  139. @extend %ol;
  140. }
  141. table {
  142. @extend %table;
  143. .mobileth {
  144. display: none;
  145. }
  146. }
  147. blockquote {
  148. @extend %blockquote;
  149. }
  150. .col3__item {
  151. display: inline-block;
  152. width: calc(33% - 0.25em - 10px);
  153. margin-right: 20px;
  154. &:last-child {
  155. margin-right: 0;
  156. }
  157. }
  158. .col2__item {
  159. display: inline-block;
  160. width: calc(50% - 0.25em - 10px);
  161. margin-right: 20px;
  162. &:last-child {
  163. margin-right: 0;
  164. }
  165. }
  166. }
  167. &__other-materials {
  168. margin: 20px 0;
  169. &-read-all {
  170. color: #fff;
  171. background-color: #eb914e;
  172. display: block;
  173. text-align: center;
  174. padding: 10px 0;
  175. text-decoration: none;
  176. font-size: 13px;
  177. &:hover {
  178. background-color: #d46818;
  179. }
  180. }
  181. }
  182. &__source {
  183. display: block;
  184. &-item {
  185. margin: 10px 0;
  186. display: block;
  187. font-size: 15px;
  188. font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  189. line-height: 1.4;
  190. a {
  191. font-size: inherit;
  192. color: #004d7b;
  193. font-family: inherit;
  194. }
  195. }
  196. &-title {
  197. font-size: 13px;
  198. font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  199. display: inline-block;
  200. color: #a2a1a1;
  201. }
  202. }
  203. &__gallery {
  204. position: relative;
  205. &-img {
  206. overflow: hidden;
  207. border-radius: 10px 0 0 0;
  208. }
  209. &-preview {
  210. width: 140px;
  211. }
  212. &-prevs {
  213. &-left,
  214. &-right {
  215. display: inline-block;
  216. background: url('../img/slider/sliderLeft.png');
  217. cursor: pointer;
  218. width: 25px;
  219. height: 45px;
  220. vertical-align: top;
  221. transform: translate(0, -50%);
  222. position: absolute;
  223. bottom: 15px;
  224. top: auto;
  225. }
  226. &-left {
  227. margin-right: 15px;
  228. &:hover {
  229. background: url('../img/slider/sliderLeft-hover.png');
  230. }
  231. }
  232. &-right {
  233. background: url('../img/slider/sliderRight.png');
  234. right: 0;
  235. &:hover {
  236. background: url('../img/slider/sliderRight-hover.png');
  237. }
  238. }
  239. }
  240. }
  241. &__video {
  242. position: relative;
  243. width: 100%;
  244. height: 0;
  245. padding-bottom: 56%;
  246. iframe {
  247. position: absolute;
  248. width: 100%;
  249. height: 100%;
  250. left: 0;
  251. top: 0;
  252. }
  253. }
  254. .fotorama__nav-wrap {
  255. width: -moz-calc(100% - 80px);
  256. width: -webkit-calc(100% - 80px);
  257. width: calc(100% - 80px);
  258. margin-left: 40px !important;
  259. position: relative;
  260. }
  261. }