_actualite.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. .path-node.page-node-type-actualite{
  2. .layout-container{
  3. overflow: unset;
  4. }
  5. .offresdeservices.layout-content.region-content#block-contenudelapageprincipale{
  6. background: none !important;
  7. }
  8. .layout--threecol-25-50-25{
  9. // display: grid;
  10. // grid-template-rows: repeat(6, auto);
  11. .layout__region--top{
  12. // grid-row: 1 / span 2;
  13. // background-color: $background-actus;
  14. // height: 40vh;
  15. background: linear-gradient(to bottom, $background-actus 60%, white 40%);
  16. // padding-right: 1rem;
  17. padding-bottom: 4rem;
  18. .block-region-top{
  19. // position: relative;
  20. display: grid;
  21. grid-template-columns: 1fr repeat(8, 1fr) 1fr;
  22. .block-block-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344{
  23. grid-column: 1 / span 10;
  24. width: 100%;
  25. font-family: 'Source Code Pro';
  26. font-size: 1.5rem;
  27. font-weight: 800;
  28. color: $white;
  29. background-color: $blue-light;
  30. text-transform: uppercase;
  31. padding-left: 13%;
  32. padding-top: 1rem;
  33. padding-bottom: 0.5rem;
  34. vertical-align: middle;
  35. }
  36. .block-entity-fieldnodefield-actu-type{
  37. padding-top: 2rem;
  38. grid-column: 2;
  39. }
  40. .block-entity-fieldnodetitle{
  41. grid-column: 2 /span 7;
  42. margin: 0;
  43. .field--name-title{
  44. font-family: "Source Code Pro";
  45. font-size: 2.5rem;
  46. font-weight: 500;
  47. }
  48. }
  49. .block-entity-fieldnodefield-date{
  50. grid-column: 2 / span 3;
  51. text-transform: uppercase;
  52. color: $blue-dark;
  53. font-size: 1.2rem;
  54. font-weight: 800;
  55. .field--name-field-date{
  56. display: flex;
  57. flex-direction: row;
  58. justify-content: flex-start;
  59. .field__item:not(:last-child):after{
  60. padding-right: 1rem;
  61. padding-left: 1rem;
  62. content: "|";
  63. }
  64. }
  65. }
  66. .block-entity-fieldnodefield-sous-titre{
  67. grid-column: 2 /span 7;
  68. margin-top: 1rem;
  69. font-weight: 800;
  70. }
  71. .block-entity-fieldnodefield-images{
  72. grid-column-start: 5;
  73. grid-column-end: 9;
  74. img{
  75. padding-top: 2rem;
  76. width: 600px;
  77. // height: auto;
  78. max-height: 360px;
  79. object-fit: cover;
  80. }
  81. // position: relative;
  82. // bottom: -50%;
  83. }
  84. }
  85. }
  86. .layout__region--first{
  87. // margin-top: 18rem;
  88. .block-region-first{
  89. display: flex;
  90. justify-content: flex-end;
  91. position: -webkit-sticky;
  92. position: sticky;
  93. top: 10rem;
  94. .block-entity-fieldnodefield-textes{
  95. display: flex;
  96. justify-content: flex-end;
  97. width: 50%;
  98. background-color: $white;
  99. padding-right: 2rem;
  100. .field--name-field-titre{
  101. display: flex;
  102. font-size: 1rem;
  103. font-weight: 1000;
  104. color: $blue-dark;
  105. border-bottom: 1px solid $blue-light;
  106. padding-bottom: 0.5rem;
  107. padding-right: 1rem;
  108. // margin-top: 2rem;
  109. margin-bottom: 0.8rem;
  110. &:hover{
  111. text-decoration: underline;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. .layout__region--second{
  118. // grid-row: 3;
  119. flex: 0 1 50%;
  120. // margin-top: 18rem;
  121. .block-region-second{
  122. width: 90%;
  123. .block-entity-fieldnodebody{
  124. p{
  125. margin-top: 0;
  126. }
  127. .field--type-text-with-summary{
  128. background-color: white;
  129. }
  130. }
  131. .block-entity-fieldnodefield-textes{
  132. background-color: $white;
  133. .field--name-field-titre{
  134. font-size: 1.5rem;
  135. font-weight: 1000;
  136. font-family: 'Source Code Pro';
  137. color: $blue-dark;
  138. text-transform: uppercase;
  139. margin-top: 2rem;
  140. margin-bottom: 0.8rem;
  141. }
  142. h4{
  143. text-transform: none !important;
  144. img{
  145. width: 100%;
  146. height: auto;
  147. }
  148. }
  149. .field--type-text-long{
  150. padding-right: 2rem;
  151. }
  152. p{
  153. margin-top: 0;
  154. }
  155. a{
  156. color: $black;
  157. text-decoration: underline;
  158. svg{
  159. display: none;
  160. }
  161. }
  162. }
  163. .block-entity-fieldnodebody{
  164. .panel-body{
  165. #outputtext{
  166. overflow-y: visible !important;
  167. }
  168. }
  169. }
  170. .block-entity-fieldnodefield-partenaires{
  171. .field__label{
  172. font-size: 1.5rem;
  173. font-weight: 1000;
  174. font-family: 'Source Code Pro';
  175. color: $blue-dark;
  176. text-transform: uppercase;
  177. margin-top: 2rem;
  178. margin-bottom: 0.8rem;
  179. }
  180. .field__items{
  181. display: flex;
  182. flex-direction: row;
  183. justify-content: space-between;
  184. .paragraph--type--partenaire{
  185. display: flex;
  186. flex-direction: column;
  187. align-items: center;
  188. // width: 35%;
  189. .field--name-field-lien{
  190. // display: none;
  191. padding-top: 1rem;
  192. }
  193. }
  194. }
  195. }
  196. }
  197. }
  198. .layout__region--third{
  199. // grid-row: 4;
  200. // margin-top: 18rem;
  201. .block-region-third{
  202. display: flex;
  203. flex-direction: column;
  204. width: 65%;
  205. .field--name-field-fichiers{
  206. .field__item{
  207. height: fit-content;
  208. border: 2px solid $blue-light;
  209. background-color: $white;
  210. margin-bottom: 1rem;
  211. min-height: 4rem;
  212. // background: $white;
  213. color: $blue-light;
  214. padding-left: 1rem;
  215. padding-top: 1rem;
  216. }
  217. span:nth-of-type(2){
  218. display: none;
  219. }
  220. .file--mime-application-pdf{
  221. height: inherit;
  222. margin: auto;
  223. ::before{
  224. content: url("../images/pictos/noun_Download_file_307900.svg");
  225. min-width:40px;
  226. height: auto;
  227. padding-right: 1rem;
  228. }
  229. a{
  230. hyphens: auto;
  231. display: inline-flex;
  232. align-items: center;
  233. color: $blue-light;
  234. font-weight: 800;
  235. // max-width: 80px ;
  236. }
  237. }
  238. }
  239. .block-entity-fieldnodefield-liens{
  240. .field--name-field-liens{
  241. .field__item{
  242. margin: auto;
  243. height: fit-content;
  244. border: 2px solid $blue-light;
  245. min-height: 4rem;
  246. background: $white;
  247. color: $blue-light;
  248. padding-left: 1rem;
  249. padding-top: 1rem;
  250. margin-bottom: 1rem;
  251. }
  252. a{
  253. display: inline-flex;
  254. align-items: center;
  255. color: $blue-light;
  256. font-weight: 800;
  257. &::before{
  258. content: url("../images/pictos/noun_External Link_674151.svg");
  259. min-width: 40px;
  260. height: auto;
  261. padding-right: 1rem;
  262. }
  263. svg.ext{
  264. display: none;
  265. }
  266. }
  267. }
  268. }
  269. .block-entity-fieldnodefield-ress{
  270. margin-top: 3rem;
  271. h2{
  272. font-size: 0.8rem;
  273. color: $black;
  274. font-weight: 900;
  275. }
  276. .node-type-ressource{
  277. display: flex;
  278. flex-direction: column;
  279. border: 2px solid $blue-light;
  280. padding: 1rem;
  281. height: fit-content;
  282. margin-bottom: 1rem;
  283. background-color: $white;
  284. &:first-of-type{
  285. border-top: 1px solid $blue-light;
  286. padding-top: 1rem;
  287. &::after{
  288. content: url("../images/pictos/noun_Arrow_3771902.svg");
  289. align-self: flex-end;
  290. }
  291. }
  292. .field--name-title{
  293. a{
  294. color: $black;
  295. font-size: 1.4rem;
  296. font-weight: 600;
  297. }
  298. }
  299. .field--name-field-auteur-s-{
  300. font-weight: 800;
  301. p{
  302. margin: 0;
  303. }
  304. .field__label{
  305. display:none;
  306. }
  307. }
  308. .field--name-field-edition{
  309. p{
  310. margin: 0;
  311. }
  312. .field__label{
  313. display:none;
  314. }
  315. }
  316. .field--name-field-images{
  317. width: 50%;
  318. img{
  319. width: 100%;
  320. height: auto;
  321. }
  322. }
  323. }
  324. }
  325. }
  326. }
  327. }
  328. }