_actu.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. .path-actus{
  2. .layout-content{
  3. padding-bottom: 0;
  4. }
  5. .content_container{
  6. &>div>h2:first-of-type{
  7. text-align: center;
  8. }
  9. .layout__region--content{
  10. .views-element-container{
  11. display: grid;
  12. grid-template-columns: 10% minmax(0, 1fr);
  13. h2{
  14. grid-column: 2 ;
  15. padding: 0 0 0 20px;
  16. @include breakpoint(small down) {
  17. grid-column: 1 / span 2;
  18. padding: 0 0 0 0px;
  19. text-align: center;
  20. }
  21. }
  22. div{
  23. grid-column: 2;
  24. h2{
  25. margin : 1rem 0;
  26. }
  27. }
  28. .views-row{
  29. h2{
  30. // color: white;
  31. padding: 0;
  32. a{
  33. text-decoration: none;
  34. &:hover{
  35. text-decoration: underline;
  36. }
  37. }
  38. }
  39. }
  40. footer{
  41. text-align: center;
  42. margin: 1.8rem 0;
  43. grid-column: 1 / span 2 ;
  44. background: transparent;
  45. a{
  46. display: inline-block;
  47. margin: 0 auto;
  48. background: black;
  49. color: white;
  50. font-family: "trueno";
  51. font-weight: 500;
  52. padding: .3rem .7rem;
  53. font-size: $font-small;
  54. text-decoration: none;
  55. text-transform: uppercase;
  56. &:hover{
  57. color:black;
  58. background: white;
  59. }
  60. }
  61. }
  62. }
  63. #actus_blocks-block_2{
  64. .programme-1{
  65. .views-field{
  66. background: $col-1;
  67. }
  68. .views-field-field-programme{
  69. color: $col-1 !important;
  70. }
  71. }
  72. .programme-2{
  73. .views-field{
  74. background: $col-2;
  75. }
  76. .views-field-field-programme{
  77. color: $col-2 !important;
  78. }
  79. }
  80. .programme-3{
  81. .views-field{
  82. background: $col-eur;
  83. }
  84. .views-field-field-programme{
  85. color: $col-eur !important;
  86. }
  87. }
  88. .programme-4{
  89. .views-field{
  90. background: $col-1;
  91. }
  92. .views-field-field-programme{
  93. color: $col-1 !important;
  94. }
  95. }
  96. .programme-5{
  97. .views-field{
  98. background: $col-mond;
  99. }
  100. .views-field-field-programme{
  101. color: $col-mond !important;
  102. }
  103. }
  104. .programme-6{
  105. .views-field{
  106. background: $col-ter;
  107. }
  108. .views-field-field-programme{
  109. color: $col-ter !important;
  110. }
  111. }
  112. .programme-7{
  113. .views-field{
  114. background: $col-met;
  115. }
  116. .views-field-field-programme{
  117. color: $col-met !important;
  118. }
  119. }
  120. .slick-slide{
  121. margin: 0 1rem;
  122. padding: 0;
  123. }
  124. .views-row{
  125. overflow: hidden;
  126. }
  127. }
  128. #actus_blocks-block_1{
  129. .slick-slide{
  130. margin: 0 1rem;
  131. padding: 0;
  132. }
  133. .programme-1{
  134. color: $col-1 !important;
  135. .views-field-field-programme{
  136. background: $col-1;
  137. }
  138. }
  139. .programme-2{
  140. color: $col-2 !important;
  141. .views-field-field-programme{
  142. background: $col-2;
  143. }
  144. }
  145. .programme-3{
  146. color: $col-eur !important;
  147. .views-field-field-programme{
  148. background: $col-eur;
  149. }
  150. }
  151. .programme-4{
  152. color: $col-1;
  153. .views-field-field-programme{
  154. background: $col-1;
  155. }
  156. }
  157. .programme-5{
  158. color: $col-mond !important;
  159. .views-field-field-programme{
  160. background: $col-mond;
  161. }
  162. }
  163. .programme-6{
  164. color: $col-ter !important;
  165. .views-field-field-programme{
  166. background: $col-ter;
  167. }
  168. }
  169. .programme-7{
  170. color: $col-met !important;
  171. .views-field-field-programme{
  172. background: $col-met;
  173. }
  174. }
  175. .views-field{
  176. background: white;
  177. }
  178. // article{
  179. // //
  180. // background: white;
  181. // &>div:first-of-type{
  182. // display: grid;
  183. // grid-column: 1 / span 2;
  184. // overflow: hidden;
  185. // div:not(.field_image){
  186. // // margin: 0 1rem;
  187. // }
  188. // .field_programme{
  189. // grid-row: 1;
  190. // z-index: 10;
  191. // }
  192. // .field_dates_actu{
  193. // grid-row: 3;
  194. // margin: .5rem 1rem;
  195. // }
  196. // .field_sous_titre{
  197. // grid-row: 4;
  198. // margin: 0rem 1rem;
  199. // }
  200. // }
  201. // // color:white;
  202. // h2{
  203. // // color: white;
  204. // margin: 0 1rem 1rem 1rem;
  205. // margin: .5rem 1rem !important;
  206. // }
  207. // .field_programme{
  208. // display: block;
  209. // a{
  210. // color: white;
  211. // display: inline-block;
  212. // width: auto;
  213. // text-decoration: none;
  214. // font-weight: 600;
  215. // text-transform: uppercase;
  216. // padding: .3rem .3rem 0 .3rem;
  217. // }
  218. // }
  219. // }
  220. }
  221. #actus_blocks-block_2{
  222. .views-row{
  223. color: white;
  224. }
  225. }
  226. #actus_blocks-block_1, #actus_blocks-block_2{
  227. .slick-slide > div{
  228. padding-bottom: 100%;
  229. position: relative;
  230. }
  231. .links.inline{
  232. display: none;
  233. }
  234. .views-row{
  235. text-transform: uppercase;
  236. display: grid !important;
  237. width: 100%;
  238. height: 100%;
  239. position: absolute;
  240. grid-template-columns: repeat( 2, minmax(0, 1fr));
  241. .views-field{
  242. grid-column: 1 / span 2;
  243. }
  244. .views-field-field-type-evenement{
  245. grid-column: 1 /span 2 ;
  246. padding: 0.5rem 0 0 1rem;
  247. }
  248. .views-field-field-date{
  249. grid-column: 1 /span 2 ;
  250. grid-row: 3;
  251. padding: 0.5rem 0 0 1rem;
  252. }
  253. .views-field-field-programme{
  254. margin-bottom: -.3rem;
  255. grid-row: 1;
  256. font-weight: 600;
  257. z-index: 10;
  258. background: transparent !important;
  259. .field-content{
  260. background:white;
  261. margin: 0 0 0 1rem ;
  262. padding: 0 0.2rem;
  263. display: inline-block;
  264. }
  265. background: transparent;
  266. }
  267. .views-field-field-image{
  268. grid-row: 2;
  269. max-height: 100%;
  270. overflow: hidden;
  271. img{
  272. width: 100%;
  273. height: 100%;
  274. object-fit: cover;
  275. }
  276. }
  277. .views-field-title{
  278. font-weight: 600;
  279. padding: .5rem 1rem 0.5rem 1rem;
  280. }
  281. .views-field-field-sous-titre{
  282. padding: 0 1rem 1rem 1rem;
  283. }
  284. a{
  285. display: inline-block;
  286. width: auto;
  287. text-decoration: none;
  288. text-transform: uppercase;
  289. }
  290. }
  291. }
  292. #home_blocks-block_3{
  293. .views-field-field-image{
  294. grid-column: 1;
  295. }
  296. .slick-slide{
  297. background-color:transparent;
  298. padding: 0;
  299. .views-row{
  300. padding: 0.4rem;
  301. }
  302. }
  303. }
  304. .block-region-content{
  305. >div:last-of-type{
  306. grid-column: 1 / span 3;
  307. background: $trame;
  308. text-align: center;
  309. padding: 1rem;
  310. }
  311. }
  312. }
  313. //carroussel
  314. .slick-arrow{
  315. position: absolute;
  316. height: 100%;
  317. cursor: pointer;
  318. z-index: 100;
  319. // background-color: white;
  320. opacity: 0.2;
  321. transition: opacity 250ms;
  322. width: 10%;
  323. &:hover{
  324. opacity: .5;
  325. }
  326. }
  327. .slick-next{
  328. right: 0;
  329. top: 0;
  330. }
  331. }
  332. }