_actualite.scss 19 KB

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