_actualite.scss 18 KB

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