_actualite.scss 19 KB

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