_actualite.scss 18 KB

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