_actualite.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  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. @media (max-width: 810px){
  23. display: flex;
  24. flex-direction: column;
  25. }
  26. .block-block-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344{
  27. grid-column: 1 / span 10;
  28. width: 100%;
  29. font-family: 'Source Code Pro';
  30. font-size: 1.5rem;
  31. font-weight: 800;
  32. color: $white;
  33. background-color: $blue-light;
  34. text-transform: uppercase;
  35. padding-left: 13%;
  36. padding-top: 1rem;
  37. padding-bottom: 0.5rem;
  38. vertical-align: middle;
  39. }
  40. .block-entity-fieldnodefield-actu-type{
  41. padding-top: 2rem;
  42. grid-column: 2;
  43. @media (max-width: 810px){
  44. margin-left: 10%;
  45. }
  46. }
  47. .block-entity-fieldnodetitle{
  48. grid-column: 2 /span 7;
  49. margin: 0;
  50. .field--name-title{
  51. font-family: "Source Code Pro";
  52. font-size: 2.5rem;
  53. font-weight: 500;
  54. @media (max-width: 810px){
  55. width: 70%;
  56. margin-left: 10%;
  57. margin-right: 10%;
  58. font-size: 1.9em;
  59. }
  60. }
  61. }
  62. .block-entity-fieldnodefield-date{
  63. // grid-row: 4 ;
  64. grid-column: 2 / span 3;
  65. text-transform: uppercase;
  66. color: $blue-dark;
  67. font-size: 1.2rem;
  68. font-weight: 800;
  69. .field--name-field-date{
  70. display: flex;
  71. flex-direction: row;
  72. justify-content: flex-start;
  73. // .field__item:not(:last-child):after{
  74. // padding-right: 1rem;
  75. // padding-left: 1rem;
  76. // content: "|";
  77. // }
  78. .field__item{
  79. padding-right: 2 rem;
  80. }
  81. @media (max-width: 810px){
  82. margin-left: 10%;
  83. font-size: 1rem;
  84. }
  85. }
  86. }
  87. .block-entity-fieldnodefield-lieu{
  88. // grid-row: 4 ;
  89. grid-column: 2 / span 3;
  90. text-transform: uppercase;
  91. color: $blue-dark;
  92. font-size: 1.2rem;
  93. font-weight: 800;
  94. .field--name-field-lieu{
  95. display: flex;
  96. flex-direction: row;
  97. // justify-content: flex-start;
  98. // .field__item:not(:last-child):after{
  99. // padding-right: 1rem;
  100. // padding-left: 1rem;
  101. // content: "|";
  102. // }
  103. @media (max-width: 810px){
  104. margin-left: 10%;
  105. font-size: 1rem;
  106. }
  107. }
  108. }
  109. .block-entity-fieldnodefield-sous-titre{
  110. grid-column: 2 /span 7;
  111. margin-top: 1rem;
  112. font-weight: 800;
  113. @media (max-width: 810px){
  114. margin-left: 10%;
  115. }
  116. }
  117. .block-entity-fieldnodefield-images{
  118. // grid-column-start: 5;
  119. // grid-column-end: 9;
  120. grid-column: 5 / span 9;
  121. img{
  122. padding-top: 2rem;
  123. width: 600px;
  124. // height: auto;
  125. max-height: 360px;
  126. object-fit: cover;
  127. }
  128. // position: relative;
  129. // bottom: -50%;
  130. @media (max-width: 1008px){
  131. width: 100%;
  132. img{
  133. padding-top: 2rem;
  134. width: 100%;
  135. object-fit: cover;
  136. }
  137. }
  138. blockquote{
  139. margin-left: 0em;
  140. font-size: 0.8rem;
  141. @media (max-width: 810px){
  142. margin-left: 5%;
  143. margin-right: 5%;
  144. font-size: 0.7rem;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. .layout__region--first{
  151. // margin-top: 18rem;
  152. .block-region-first{
  153. display: flex;
  154. justify-content: flex-end;
  155. position: -webkit-sticky;
  156. position: sticky;
  157. top: 10rem;
  158. .block-entity-fieldnodefield-textes{
  159. display: flex;
  160. justify-content: flex-end;
  161. width: 50%;
  162. background-color: $white;
  163. padding-right: 2rem;
  164. .field--name-field-titre{
  165. display: flex;
  166. font-size: 1rem;
  167. font-weight: 1000;
  168. color: $blue-dark;
  169. border-bottom: 1px solid $blue-light;
  170. padding-bottom: 0.5rem;
  171. padding-right: 1rem;
  172. // margin-top: 2rem;
  173. margin-bottom: 0.8rem;
  174. &:hover{
  175. text-decoration: underline;
  176. }
  177. }
  178. }
  179. }
  180. @media (max-width: 810px){
  181. display: none;
  182. }
  183. }
  184. .layout__region--second{
  185. // grid-row: 3;
  186. flex: 0 1 50%;
  187. // margin-top: 18rem;
  188. .block-region-second{
  189. width: 90%;
  190. @media (max-width:810px) {
  191. width: 100%;
  192. }
  193. .block-entity-fieldnodebody{
  194. p{
  195. margin-top: 0;
  196. }
  197. .field--type-text-with-summary{
  198. background-color: white;
  199. }
  200. }
  201. .block-entity-fieldnodefield-textes{
  202. background-color: $white;
  203. .field--name-field-titre{
  204. font-size: 1.5rem;
  205. font-weight: 1000;
  206. font-family: 'Source Code Pro';
  207. color: $blue-dark;
  208. text-transform: uppercase;
  209. margin-top: 2rem;
  210. margin-bottom: 0.8rem;
  211. }
  212. h4{
  213. text-transform: none !important;
  214. img{
  215. width: 100%;
  216. height: auto;
  217. }
  218. }
  219. .field--type-text-long{
  220. padding-right: 2rem;
  221. @media (max-width: 810px) {
  222. padding-right: 0;
  223. }
  224. }
  225. p{
  226. margin-top: 0;
  227. }
  228. a{
  229. color: $black;
  230. text-decoration: underline;
  231. svg{
  232. display: none;
  233. }
  234. }
  235. }
  236. .block-entity-fieldnodebody{
  237. .panel-body{
  238. #outputtext{
  239. overflow-y: visible !important;
  240. }
  241. }
  242. }
  243. .block-entity-fieldnodefield-partenaires{
  244. .field__label{
  245. font-size: 1.5rem;
  246. font-weight: 1000;
  247. font-family: 'Source Code Pro';
  248. color: $blue-dark;
  249. text-transform: uppercase;
  250. margin-top: 2rem;
  251. margin-bottom: 0.8rem;
  252. }
  253. .field__items{
  254. display: flex;
  255. flex-direction: row;
  256. justify-content: space-between;
  257. .paragraph--type--partenaire{
  258. display: flex;
  259. flex-direction: column;
  260. align-items: center;
  261. // width: 35%;
  262. .field--name-field-lien{
  263. // display: none;
  264. padding-top: 1rem;
  265. }
  266. }
  267. }
  268. }
  269. }
  270. @media (max-width: 810px){
  271. flex: 0 1 80%;
  272. margin: auto;
  273. }
  274. }
  275. .layout__region--third{
  276. // grid-row: 4;
  277. // margin-top: 18rem;
  278. .block-region-third{
  279. display: flex;
  280. flex-direction: column;
  281. width: 65%;
  282. @media (max-width: 810px){
  283. margin: auto;
  284. }
  285. .field--name-field-fichiers{
  286. .field__item{
  287. height: fit-content;
  288. border: 2px solid $blue-light;
  289. background-color: $white;
  290. margin-bottom: 1rem;
  291. min-height: 4rem;
  292. // background: $white;
  293. color: $blue-light;
  294. padding-left: 1rem;
  295. padding-top: 1rem;
  296. }
  297. span:nth-of-type(2){
  298. display: none;
  299. }
  300. .file--mime-application-pdf{
  301. height: inherit;
  302. margin: auto;
  303. ::before{
  304. content: url("../images/pictos/noun_Download_file_307900.svg");
  305. min-width:40px;
  306. height: auto;
  307. padding-right: 1rem;
  308. }
  309. a{
  310. hyphens: auto;
  311. display: inline-flex;
  312. align-items: center;
  313. color: $blue-light;
  314. font-weight: 800;
  315. // max-width: 80px ;
  316. }
  317. }
  318. }
  319. .block-entity-fieldnodefield-liens{
  320. .field--name-field-liens{
  321. .field__item{
  322. margin: auto;
  323. height: fit-content;
  324. border: 2px solid $blue-light;
  325. min-height: 4rem;
  326. background: $white;
  327. color: $blue-light;
  328. padding-left: 1rem;
  329. padding-top: 1rem;
  330. margin-bottom: 1rem;
  331. }
  332. a{
  333. display: inline-flex;
  334. align-items: center;
  335. color: $blue-light;
  336. font-weight: 800;
  337. &::before{
  338. content: url("../images/pictos/noun_External Link_674151.svg");
  339. min-width: 40px;
  340. height: auto;
  341. padding-right: 1rem;
  342. }
  343. svg.ext{
  344. display: none;
  345. }
  346. }
  347. }
  348. }
  349. .block-entity-fieldnodefield-ress{
  350. margin-top: 3rem;
  351. h2{
  352. font-size: 0.8rem;
  353. color: $black;
  354. font-weight: 900;
  355. }
  356. .node-type-ressource{
  357. display: flex;
  358. flex-direction: column;
  359. border: 2px solid $blue-light;
  360. padding: 1rem;
  361. height: fit-content;
  362. margin-bottom: 1rem;
  363. background-color: $white;
  364. &:first-of-type{
  365. border-top: 1px solid $blue-light;
  366. padding-top: 1rem;
  367. &::after{
  368. content: url("../images/pictos/noun_Arrow_3771902.svg");
  369. align-self: flex-end;
  370. }
  371. }
  372. .field--name-title{
  373. a{
  374. color: $black;
  375. font-size: 1.4rem;
  376. font-weight: 600;
  377. }
  378. }
  379. .field--name-field-auteur-s-{
  380. font-weight: 800;
  381. p{
  382. margin: 0;
  383. }
  384. .field__label{
  385. display:none;
  386. }
  387. }
  388. .field--name-field-edition{
  389. p{
  390. margin: 0;
  391. }
  392. .field__label{
  393. display:none;
  394. }
  395. }
  396. .field--name-field-images{
  397. width: 50%;
  398. img{
  399. width: 100%;
  400. height: auto;
  401. }
  402. }
  403. }
  404. }
  405. }
  406. }
  407. }
  408. }