_actualite.scss 18 KB

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