_actualite.scss 19 KB

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