_actualite.scss 18 KB

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