_actualite.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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 3;
  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. @media(max-width:810px){
  310. width: max-content;
  311. padding-right: 1rem;
  312. }
  313. }
  314. span:nth-of-type(2){
  315. display: none;
  316. }
  317. .file--mime-application-pdf{
  318. height: inherit;
  319. margin: auto;
  320. ::before{
  321. content: url("../images/pictos/noun_Download_file_307900.svg");
  322. min-width:30px;
  323. height: auto;
  324. padding-right: 1rem;
  325. }
  326. a{
  327. hyphens: auto;
  328. display: inline-flex;
  329. align-items: center;
  330. color: $blue-light;
  331. font-weight: 800;
  332. // max-width: 80px ;
  333. }
  334. }
  335. }
  336. .block-entity-fieldnodefield-liens{
  337. .field--name-field-liens{
  338. .field__item{
  339. margin: auto;
  340. height: fit-content;
  341. border: 2px solid $blue-light;
  342. min-height: 4rem;
  343. background: $white;
  344. color: $blue-light;
  345. padding-left: 1rem;
  346. padding-top: 1rem;
  347. margin-bottom: 1rem;
  348. @media(max-width:810px){
  349. width: max-content;
  350. padding-right: 1rem;
  351. }
  352. }
  353. a{
  354. display: inline-flex;
  355. align-items: center;
  356. color: $blue-light;
  357. font-weight: 800;
  358. &::before{
  359. content: url("../images/pictos/noun_External Link_674151.svg");
  360. min-width: 30px;
  361. height: auto;
  362. padding-right: 1rem;
  363. }
  364. svg.ext{
  365. display: none;
  366. }
  367. }
  368. }
  369. }
  370. .block-entity-fieldnodefield-ress{
  371. margin-top: 3rem;
  372. h2{
  373. font-size: 0.8rem;
  374. color: $black;
  375. font-weight: 900;
  376. }
  377. .node-type-ressource{
  378. border: 2px solid $blue-light;
  379. padding: 1rem;
  380. height: fit-content;
  381. margin-bottom: 1rem;
  382. background-color: $white;
  383. display: flex;
  384. flex-direction: column;
  385. div{
  386. display: flex;
  387. flex-direction: column;
  388. .field--name-field-type-de-ressource{
  389. order: 2;
  390. text-transform: uppercase;
  391. color: $blue-light;
  392. font-weight: 900;
  393. font-size: 0.8rem;
  394. }
  395. .field--name-title{
  396. order: 3;
  397. h2{
  398. margin: 0;
  399. a{
  400. color: $black;
  401. font-size: 1rem;
  402. font-weight: 900;
  403. font-style: italic;
  404. }
  405. }
  406. }
  407. .field--name-field-sous-titre{
  408. order:4;
  409. }
  410. .field--name-field-auteur-s-{
  411. order: 5;
  412. font-weight: 800;
  413. p{
  414. margin: 0;
  415. }
  416. .field__label{
  417. display:none;
  418. }
  419. }
  420. .field--name-field-edition{
  421. p{
  422. margin: 0;
  423. }
  424. .field__label{
  425. display:none;
  426. }
  427. }
  428. .field--name-field-images{
  429. display: none;
  430. order: 1;
  431. width: 25%;
  432. img{
  433. width: 100%;
  434. height: auto;
  435. margin: auto;
  436. }
  437. }
  438. .field--name-field-mots-clefs{
  439. order: 6;
  440. display: flex;
  441. margin-top: 2rem;
  442. flex-direction: row;
  443. flex-wrap: wrap;
  444. .field__items{
  445. display: flex;
  446. flex-direction: row;
  447. flex-wrap: wrap;
  448. }
  449. .field__item{
  450. padding-bottom: 0.5rem;
  451. margin-right: 0.5rem;
  452. padding-right: 0.3rem;
  453. font-size: 0.8rem;
  454. a{
  455. background: $blue-dark;
  456. color: $white;
  457. font-weight: 800;
  458. vertical-align: super;
  459. padding-left: 0.1rem;
  460. padding-right: 0.1rem;
  461. display: inline-flex;
  462. }
  463. }
  464. }
  465. ul.links.inline{
  466. display: none;
  467. }
  468. }
  469. }
  470. }
  471. }
  472. }
  473. }
  474. }